summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRay Zhang <rayz@codeaurora.org>2017-01-16 11:22:36 +0800
committerRay Zhang <rayz@codeaurora.org>2017-02-27 10:21:07 +0800
commit33e1141e51ef3b0cc307b5e782718f293f3e08c0 (patch)
treea27d471c21d290d62d755b54a82f7dba5aefbcf7 /include
parent49d57d9b26e1a73dfe6e6ec5dfc3725908483696 (diff)
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 <rayz@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/msm_ext_display.h2
1 files changed, 2 insertions, 0 deletions
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);
};
/*