From: zwl Date: Tue, 1 Apr 2014 06:05:49 +0000 (+0800) Subject: rk3288-hdmi: fix hdmi audio noise X-Git-Tag: firefly_0821_release~5680 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9e9940dcc64d373d344542882f99beb79bdcf607;p=firefly-linux-kernel-4.4.55.git rk3288-hdmi: fix hdmi audio noise --- diff --git a/drivers/video/rockchip/hdmi/chips/rk3288/rk3288_hdmi_hw.c b/drivers/video/rockchip/hdmi/chips/rk3288/rk3288_hdmi_hw.c index e89d9ac07a02..91755d302503 100644 --- a/drivers/video/rockchip/hdmi/chips/rk3288/rk3288_hdmi_hw.c +++ b/drivers/video/rockchip/hdmi/chips/rk3288/rk3288_hdmi_hw.c @@ -279,10 +279,11 @@ static int rk3288_hdmi_video_frameComposer(struct hdmi *hdmi_drv, struct hdmi_vi v_sync = mode->vsync_len; hdmi_writel(hdmi_dev, FC_VSYNCINWIDTH, (v_sync & 0xff)); -#if 0 + /*Set the control period minimum duration(min. of 12 pixel clock cycles, refer to HDMI 1.4b specification)*/ hdmi_writel(hdmi_dev, FC_CTRLDUR, 12); hdmi_writel(hdmi_dev, FC_EXCTRLDUR, 32); +#if 0 /* spacing < 256^2 * config / tmdsClock, spacing <= 50ms * worst case: tmdsClock == 25MHz => config <= 19