]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use cached cdclk value in i915_audio_component_get_cdclk_freq()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 26 Apr 2016 16:46:33 +0000 (19:46 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 28 Apr 2016 15:11:19 +0000 (18:11 +0300)
commit6feb8a32fbf388f18202a4ff96621f846171c0b9
tree0a35280ea22945ca40c88bbafe650923653af47c
parent67768427a5b3fff11cd224cf99299709836491fe
drm/i915: Use cached cdclk value in i915_audio_component_get_cdclk_freq()

No point in reading the cdclk out from the hardware every single time
since we have it cached already. Just return the cached value to the
audio driver.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461689194-6079-3-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
drivers/gpu/drm/i915/intel_audio.c