From a3b4845bc39d66407765c4c50c60f958f4183cbe Mon Sep 17 00:00:00 2001 From: Seema Pandit Date: Thu, 26 Apr 2012 08:42:16 -0700 Subject: [PATCH] Fix issue with HDMI audio quality is poor. BZ: 33536 Remove the hardcoded fp and dpll values for HDMI clock, to fix the issue with HDMI audio quality, being choppy. These values are calculated by the driver. Change-Id: I1c13473f3a8e4874600f3087fb755020842f5e92 Signed-off-by: Seema Pandit Reviewed-on: http://android.intel.com:8080/46455 Reviewed-by: Hu, Austin Reviewed-by: Dai, Yu Reviewed-by: Tong, BoX Tested-by: Tong, BoX Reviewed-by: buildbot Tested-by: buildbot --- drivers/staging/mrst/drv/psb_intel_display2.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/staging/mrst/drv/psb_intel_display2.c b/drivers/staging/mrst/drv/psb_intel_display2.c index 92ac824..3c300fe 100644 --- a/drivers/staging/mrst/drv/psb_intel_display2.c +++ b/drivers/staging/mrst/drv/psb_intel_display2.c @@ -2158,18 +2158,6 @@ static int mdfld_crtc_mode_set(struct drm_crtc *crtc, /* compute bitmask from p1 value */ dpll |= (1 << (clock.p1 - 2)) << 17; - if (IS_CTP(dev)) { -#ifndef CONFIG_CTP_CRYSTAL_38M4 - dpll = 0x00050000; - fp = 0x000001be; -#endif - /* In case clocking issues try value below for CTP. - Please keep this one for reference. For 38.4 MHz. */ -#if 0 /* 1080p30 & 720p */ - fp = 0x000101be; -#endif - } - } else { if (pipe == 2) dsi_config = dev_priv->dsi_configs[1]; -- 2.7.4