From 33e1141e51ef3b0cc307b5e782718f293f3e08c0 Mon Sep 17 00:00:00 2001 From: Ray Zhang Date: Mon, 16 Jan 2017 11:22:36 +0800 Subject: msm: mdss: remove hdmi audio sysfs node Use audio codec callback to replace the existing sysfs node which has permission issues. The usage is the same as previous sysfs node as the input parameters are not changed. There are 3 different flags could be passed in: SET_ENABLE, ENABLE, and CONNECT. CRs-Fixed: 2010135 Change-Id: Id526bd8a3d750f8da108bc42b1e3e8f680950f3b Signed-off-by: Ray Zhang --- include/linux/msm_ext_display.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/linux/msm_ext_display.h b/include/linux/msm_ext_display.h index 4378080da0d9..d9831d7cbb4e 100644 --- a/include/linux/msm_ext_display.h +++ b/include/linux/msm_ext_display.h @@ -109,6 +109,7 @@ struct msm_ext_disp_intf_ops { * @get_audio_edid_blk: retrieve audio edid block * @cable_status: cable connected/disconnected * @get_intf_id: id of connected interface + * @acknowledge: acknowledge audio status */ struct msm_ext_disp_audio_codec_ops { int (*audio_info_setup)(struct platform_device *pdev, @@ -118,6 +119,7 @@ struct msm_ext_disp_audio_codec_ops { int (*cable_status)(struct platform_device *pdev, u32 vote); int (*get_intf_id)(struct platform_device *pdev); void (*teardown_done)(struct platform_device *pdev); + int (*acknowledge)(struct platform_device *pdev, u32 ack); }; /* -- cgit v1.2.3