Merge "msm: mdss: fix display port crash caused by hpd_irq attention event"
This commit is contained in:
commit
ec43abcb48
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue