linux/drivers/gpu/drm/bridge/synopsys
Daniel Kurtz fadfee3f9d drm/bridge: dw-hdmi: Restore audio when setting a mode
When setting a new display mode, dw_hdmi_setup() calls
dw_hdmi_enable_video_path(), which disables all hdmi clocks, including
the audio clock.

We should only (re-)enable the audio clock if audio was already enabled
when setting the new mode.

Without this patch, on RK3288, there will be HDMI audio on some monitors
if i2s was played to headphone when the monitor was plugged.
ACER H277HU and ASUS PB278 are two of the monitors showing this issue.

Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191008102145.55134-1-cychiang@chromium.org
2019-10-15 09:48:52 +02:00
..
dw-hdmi-ahb-audio.c drm/bridge: dw-hdmi: move audio channel setup out of ahb 2019-08-14 15:03:11 +02:00
dw-hdmi-audio.h drm/bridge: dw-hdmi-i2s: add .get_eld support 2019-08-14 15:03:36 +02:00
dw-hdmi-cec.c cec: add cec_adapter to cec_notifier_cec_adap_unregister() 2019-10-07 12:47:43 +02:00
dw-hdmi-cec.h
dw-hdmi-i2s-audio.c drm: bridge/dw_hdmi: add audio sample channel status setting 2019-09-13 10:43:51 +02:00
dw-hdmi.c drm/bridge: dw-hdmi: Restore audio when setting a mode 2019-10-15 09:48:52 +02:00
dw-hdmi.h drm/bridge: dw-hdmi: Add Dynamic Range and Mastering InfoFrame support 2019-10-10 12:50:00 +02:00
dw-mipi-dsi.c drm/bridge/synopsys: dsi: Use devm_platform_ioremap_resource() in __dw_mipi_dsi_probe() 2019-09-25 10:03:39 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00