Fix issue with HDMI audio quality is poor.
authorSeema Pandit <seema.pandit@intel.com>
Thu, 26 Apr 2012 15:42:16 +0000 (08:42 -0700)
committerbuildbot <buildbot@intel.com>
Sat, 28 Apr 2012 12:33:04 +0000 (05:33 -0700)
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 <seema.pandit@intel.com>
Reviewed-on: http://android.intel.com:8080/46455
Reviewed-by: Hu, Austin <austin.hu@intel.com>
Reviewed-by: Dai, Yu <yu.dai@intel.com>
Reviewed-by: Tong, BoX <box.tong@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/staging/mrst/drv/psb_intel_display2.c

index 92ac824..3c300fe 100644 (file)
@@ -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];