From: Zheng Yang Date: Mon, 9 Feb 2015 02:42:19 +0000 (+0800) Subject: rk3288 hdmi: If audio source if spdif, sclk/fs should be 128x. X-Git-Tag: firefly_0821_release~4263^2~54 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b448db94976c5b846745276e12d62968a6d78083;p=firefly-linux-kernel-4.4.55.git rk3288 hdmi: If audio source if spdif, sclk/fs should be 128x. Signed-off-by: Zheng Yang --- diff --git a/drivers/video/rockchip/hdmi/rockchip-hdmiv2/rockchip_hdmiv2_hw.c b/drivers/video/rockchip/hdmi/rockchip-hdmiv2/rockchip_hdmiv2_hw.c index b0295dd5f47c..b35c424c2d77 100644 --- a/drivers/video/rockchip/hdmi/rockchip-hdmiv2/rockchip_hdmiv2_hw.c +++ b/drivers/video/rockchip/hdmi/rockchip-hdmiv2/rockchip_hdmiv2_hw.c @@ -1484,6 +1484,7 @@ static int hdmi_dev_config_audio(struct hdmi *hdmi, struct hdmi_audio *audio) v_AUD_PACK_LAYOUT((audio->channel > 2) ? 1 : 0)); if (hdmi_dev->audiosrc == HDMI_AUDIO_SRC_SPDIF) { + mclk_fs = FS_128; hdmi_msk_reg(hdmi_dev, AUD_CONF0, m_I2S_SEL, v_I2S_SEL(AUDIO_SPDIF_GPA)); hdmi_msk_reg(hdmi_dev, AUD_SPDIF1,