mdss: hdmi: Fix suspend/resume watchdog crash during HDMI mirroring

During device suspend, HDMI driver holds MDSS suspend context until
audio is turned off. Continuous polling for audio off results in
unnecessary delay in MDSS suspend as well as watchdog crash. To fix this
enable/disable MDSS GDSC regulator during HDMI hpd on/off. This will
make HDMI independent of MDSS module in terms of register accesses. Also
increase the sleep time between consecutive poll reads in order to
prevent watchdog crash.

CRs-Fixed: 425536
Change-Id: I7969f0ed8bcce4a356ee6a1e29ed2af76dd345ef
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
3 files changed