CHROMIUM: ALSA: ASoC: exynos hdmi - disable audio in DVI mode
exynos-hdmi-audio used to configure HDMI to send ACR and AUI infoframes
even when DVI sink was plugged using HDMI-DVI cable.
This would cause monitor to go to sleep.
So, don't configure audio if HDMI is in DVI mode,
assuming the graphics driver already disabled it.
Also, if HDMI audio jack hotplugging was previously reported,
report that it was unplugged when DVI mode is detected.
BUG=chromium:222145
TEST=Unplug/plug HDMI-DVI cable, observe monitor working properly.
Boot with HDMI-HDMI cable plugged in, unplug/plug,
play sound and hear it on monitor's speakers.
Signed-off-by: Yuly Novikov <ynovikov@chromium.org>
Change-Id: Ia6d677ff82beb64ff53ed7c4bfb09658668fbd9b
Reviewed-on: https://gerrit.chromium.org/gerrit/50726
Reviewed-by: Dylan Reid <dgreid@chromium.org>