diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-05-16 06:49:36 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-16 06:49:35 -0700 |
| commit | ec43abcb48ff9d5eb76da7ee057141cd24f9cfd3 (patch) | |
| tree | ba768db3fdbfa0465030d8db75fc3aa44b81b203 | |
| parent | 2fdf1c893dca2ee68bb1f8cb7d6168bb091256c4 (diff) | |
| parent | 353a91d0dadb24e908eaa0032147697697aca62e (diff) | |
Merge "msm: mdss: fix display port crash caused by hpd_irq attention event"
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_dp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dp.c b/drivers/video/fbdev/msm/mdss_dp.c index 1e878e9a00cb..37346c40d81d 100644 --- a/drivers/video/fbdev/msm/mdss_dp.c +++ b/drivers/video/fbdev/msm/mdss_dp.c @@ -3943,6 +3943,12 @@ static int mdss_dp_process_hpd_irq_high(struct mdss_dp_drv_pdata *dp) { int ret = 0; + /* In case of HPD_IRQ events without DP link being turned on such as + * adb shell stop, skip handling hpd_irq event. + */ + if (!dp->dp_initialized) + goto exit; + pr_debug("start\n"); dp->hpd_irq_on = true; |
