summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChandan Uddaraju <chandanu@codeaurora.org>2017-02-09 12:58:06 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-08 12:48:08 -0800
commit0c193ad038356941c68968de10556bec4a121fb6 (patch)
tree94d157d5921cb86b4e1d9df2dfb353a2954c1bb4
parent4e8e859bf00509a15f88b315544a0eacf2143e85 (diff)
mdss: display-port: fix DP issue when framework reboots
When framework reboot happens, HPD node is toggled by the display framework. Make sure to send cable disconnect event to framework when HPD is set to 'low' state. CRs-Fixed: 1116934 Change-Id: If59ec7c81264ff76b661cdfd8e6b70356a6e1544 Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
-rw-r--r--drivers/video/fbdev/msm/mdss_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dp.c b/drivers/video/fbdev/msm/mdss_dp.c
index f5ca8dce2ad3..ff5398030d17 100644
--- a/drivers/video/fbdev/msm/mdss_dp.c
+++ b/drivers/video/fbdev/msm/mdss_dp.c
@@ -2427,7 +2427,7 @@ static ssize_t mdss_dp_wta_hpd(struct device *dev,
} else {
dp_send_events(dp, EV_USBPD_DISCOVER_MODES);
}
- } else if (!dp->hpd && dp->power_on) {
+ } else if (!dp->hpd) {
mdss_dp_notify_clients(dp, NOTIFY_DISCONNECT);
}
end: