disp: msm: dp: add error handling for host init failures
Add error handling mechanism in host init function to take necessary action upon failure. For example, power init can fail if we try to do host_init in between PM suspend. In this case sink sends an hpd irq with hpd_high equals to 0 and hpd_high equals to 1, after which ADSP sends the events to DP driver. Now as apps core is in PM suspend all the devices are put to suspend state and cannot be resumed if their disable_depth is greater than 1. When driver tries to process the hpd_high equals to 1 and does host_init in between PM suspend, it sometimes leads to power init module failure. Inadequate handling of host init failure as described can lead to a NOC error. Change-Id: I23eff28e137a18b43eef204fbccc695b743cf726 Signed-off-by:Rajat Gupta <rajatgu@codeaurora.org> Signed-off-by:
Sankeerth Billakanti <sbillaka@codeaurora.org>
Loading
Please register or sign in to comment