File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
drivers/gpu/drm/i915/display Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -860,7 +860,7 @@ static unsigned long i915_audio_component_get_power(struct device *kdev)
860
860
}
861
861
862
862
/* Force CDCLK to 2*BCLK as long as we need audio powered. */
863
- if (IS_CANNONLAKE (dev_priv ) || IS_GEMINILAKE (dev_priv ))
863
+ if (INTEL_GEN (dev_priv ) >= 10 || IS_GEMINILAKE (dev_priv ))
864
864
glk_force_audio_cdclk (dev_priv , true);
865
865
866
866
if (INTEL_GEN (dev_priv ) >= 10 || IS_GEMINILAKE (dev_priv ))
@@ -879,7 +879,7 @@ static void i915_audio_component_put_power(struct device *kdev,
879
879
880
880
/* Stop forcing CDCLK to 2*BCLK if no need for audio to be powered. */
881
881
if (-- dev_priv -> audio_power_refcount == 0 )
882
- if (IS_CANNONLAKE (dev_priv ) || IS_GEMINILAKE (dev_priv ))
882
+ if (INTEL_GEN (dev_priv ) >= 10 || IS_GEMINILAKE (dev_priv ))
883
883
glk_force_audio_cdclk (dev_priv , false);
884
884
885
885
intel_display_power_put (dev_priv , POWER_DOMAIN_AUDIO , cookie );
You can’t perform that action at this time.
0 commit comments