drm/i915: Consolidate {bxt,cnl,icl}_uninit_cdclk
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 10 Sep 2019 15:42:49 +0000 (08:42 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 11 Sep 2019 03:36:48 +0000 (20:36 -0700)
commit751a93a15cde277ada4e1be14d93eb13a0dc3edd
tree6821e95faf7f06f5ba9a51d436307f68b9c9eead
parent5dac256bf76793d4e4c554a3c6784e39ccf06664
drm/i915: Consolidate {bxt,cnl,icl}_uninit_cdclk

The uninitialize flow is the same on all of these platforms, aside from
calculating a different frequency level.

v2: Reverse platform conditional order for consistency.  (Ville)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190910154252.30503-6-matthew.d.roper@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c