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:
Xinhuang Li
2019-07-24 09:14:21 +08:00
committed by Tao Huang
parent 3e0cf8c18e
commit ec250395a3

View File

@@ -209,7 +209,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_SW_RESET |
(HDMI_AUD_CONF0_I2S_ALL_ENABLE ^
HDMI_AUD_CONF0_I2S_SELECT_MASK),
HDMI_AUD_CONF0);
}
static int dw_hdmi_i2s_get_dai_id(struct snd_soc_component *component,