drm/sti: allow audio playback on HDMI even if disabled.
authorArnaud Pouliquen <arnaud.pouliquen@st.com>
Fri, 30 Sep 2016 15:17:00 +0000 (17:17 +0200)
committerVincent Abriou <vincent.abriou@st.com>
Fri, 6 Jan 2017 14:12:03 +0000 (15:12 +0100)
commitdd841870d0f5d170175b25083365e4e3024c2d3b
treeb9b9b9a00bb4ab36a5cd63f211ffea65609a54a4
parent2cf026ae85c42f253feb9f420d1b4bc99bd5503d
drm/sti: allow audio playback on HDMI even if disabled.

This fix allows to play audio while HDMI is disconnected.
When HDMI is disable, audio configuration is stored and samples
are dropped (by HDMI IP).
When HDMI is enabled, audio HDMI configuration is applied and samples
are outputted on HDMI wire.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Acked-by: Vincent Abriou <vincent.abriou@st.com>
drivers/gpu/drm/sti/sti_hdmi.c