Merge "msm: mdss: fix display port crash caused by hpd_irq attention event"

This commit is contained in:
Linux Build Service Account 2017-05-16 06:49:36 -07:00 committed by Gerrit - the friendly Code Review server
commit ec43abcb48

View file

@ -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;