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 186cfa0eb5
commit e94e5743d4

View File

@@ -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 = {