summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLei Chen <chenl@codeaurora.org>2016-11-11 17:55:42 +0800
committerRay Zhang <rayz@codeaurora.org>2017-02-03 14:26:21 +0800
commit00499f56c5e0ea912a3f1ac941a3ef2b01508e91 (patch)
treed60e11889455a6efbedbcf03f17725767325fbfe /include/linux
parent336e24550387c399c29c3c5a2637c8f29c0a33c7 (diff)
msm: ext_display: update hpd and notify for HDMI
The semantic of hpd and notify have been changed. hpd is a blocking call which notifies display and audio with the cable status, and notify is used to complete the hpd call which waits for the acknowledgment of power on/off. Update these 2 interface implementations for HDMI. CRs-Fixed: 1086894 Change-Id: I8603149132e224cb2859d2b808123238d0516817 Signed-off-by: Ray Zhang <rayz@codeaurora.org> Signed-off-by: Lei Chen <chenl@codeaurora.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/msm_ext_display.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/msm_ext_display.h b/include/linux/msm_ext_display.h
index 44a04b5c2fcd..4378080da0d9 100644
--- a/include/linux/msm_ext_display.h
+++ b/include/linux/msm_ext_display.h
@@ -91,7 +91,7 @@ enum msm_ext_disp_power_state {
/**
* struct msm_ext_disp_intf_ops - operations exposed to display interface
* @hpd: updates external display interface state
- * @notify: updates audio framework with interface state
+ * @notify: acknowledgment to power on or off
*/
struct msm_ext_disp_intf_ops {
int (*hpd)(struct platform_device *pdev,
@@ -100,8 +100,7 @@ struct msm_ext_disp_intf_ops {
u32 flags);
int (*notify)(struct platform_device *pdev,
enum msm_ext_disp_cable_state state);
- int (*ack)(struct platform_device *pdev,
- u32 ack);
+ int (*ack)(struct platform_device *pdev, u32 ack);
};
/**