mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
drm/i915/cdclk: Squash waveform is 16 bits
Have cdclk_squash_waveform() return a u16 since that's how many bits we have in the waveform. We alreday use u16 everywhere else. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240207013334.29606-3-ville.syrjala@linux.intel.com Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
This commit is contained in:
parent
26aba0d1c3
commit
76184fa3d3
|
|
@ -1778,7 +1778,7 @@ static u32 bxt_cdclk_cd2x_div_sel(struct drm_i915_private *dev_priv,
|
|||
}
|
||||
}
|
||||
|
||||
static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
|
||||
static u16 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
|
||||
int cdclk)
|
||||
{
|
||||
const struct intel_cdclk_vals *table = dev_priv->display.cdclk.table;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user