mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
drm: bridge: dw-hdmi: no need update i2s_select when hdmi audio shutdown
the previous practice will set the reg of i2s_select to select spdif when audio shutdown and playing spdif at this point will cause the audio to come out of hdmi as well Change-Id: I8f9f53ea71ce83b33e32b575bacd2249da3b7d8f Signed-off-by: Xinhuang Li <buluess.li@rock-chips.com>
This commit is contained in:
@@ -207,7 +207,12 @@ static void dw_hdmi_i2s_audio_shutdown(struct device *dev, void *data)
|
||||
|
||||
dw_hdmi_audio_disable(hdmi);
|
||||
|
||||
hdmi_write(audio, HDMI_AUD_CONF0_SW_RESET, HDMI_AUD_CONF0);
|
||||
hdmi_update_bits(audio,
|
||||
HDMI_AUD_CONF0_SW_RESET |
|
||||
(HDMI_AUD_CONF0_I2S_ALL_ENABLE ^
|
||||
HDMI_AUD_CONF0_I2S_SELECT_MASK),
|
||||
HDMI_AUD_CONF0_SW_RESET,
|
||||
HDMI_AUD_CONF0);
|
||||
}
|
||||
|
||||
static struct hdmi_codec_ops dw_hdmi_i2s_ops = {
|
||||
|
||||
Reference in New Issue
Block a user