diff options
author | Libin Yang <libin.yang@linux.intel.com> | 2016-10-10 18:04:04 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-10-11 17:22:16 +0300 |
commit | 4bd2d6f680e39a910f76b50ba21ad22bc6177628 (patch) | |
tree | a4376c3bd125c03c74d93a3e045a499e9c06d8a6 /drivers/gpu/drm/i915/intel_audio.c | |
parent | 12e87f23c6278eda2fec540f078e08f1ad63b4fe (diff) | |
download | linux-4bd2d6f680e39a910f76b50ba21ad22bc6177628.tar.xz |
drm/i915/audio: set proper N/MCTS on more platforms
This patch applies setting proper N/M, N/CTS on more platforms.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Libin Yang <libin.yang@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/073f8aaf302df1b638dd33b0ddf46930bcdfea99.1476111629.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_audio.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_audio.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/intel_audio.c b/drivers/gpu/drm/i915/intel_audio.c index dcbe6b9cbc43..8f6cc15ca39c 100644 --- a/drivers/gpu/drm/i915/intel_audio.c +++ b/drivers/gpu/drm/i915/intel_audio.c @@ -688,11 +688,7 @@ static int i915_audio_component_sync_audio_rate(struct device *kdev, int port, struct i915_audio_component *acomp = dev_priv->audio_component; int err = 0; - /* HSW, BDW, SKL, KBL need this fix */ - if (!IS_SKYLAKE(dev_priv) && - !IS_KABYLAKE(dev_priv) && - !IS_BROADWELL(dev_priv) && - !IS_HASWELL(dev_priv)) + if (!HAS_DDI(dev_priv)) return 0; i915_audio_component_get_power(kdev); |