diff options
author | Ville Syrjälä <[email protected]> | 2024-09-06 17:33:01 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2024-09-11 15:18:48 +0300 |
commit | 25dd5e9801cc001d7af8a1b191a2398adfc02c3f (patch) | |
tree | 5634381ce10026f927593aed9d0712089da2e02c | |
parent | a2d98feb4b0013ef4f9db0d8f642a8ac1f5ecbb9 (diff) |
drm/i915/cdclk: Add missing braces
CodingStyle says when one branch of an if ladder is braced
then all of them should be. Make it so.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_cdclk.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_cdclk.c b/drivers/gpu/drm/i915/display/intel_cdclk.c index 66964c7d2a2c..9d870d15d888 100644 --- a/drivers/gpu/drm/i915/display/intel_cdclk.c +++ b/drivers/gpu/drm/i915/display/intel_cdclk.c @@ -2053,8 +2053,9 @@ static void _bxt_set_cdclk(struct drm_i915_private *dev_priv, dg2_cdclk_squash_program(dev_priv, 0); icl_cdclk_pll_update(dev_priv, vco); - } else + } else { bxt_cdclk_pll_update(dev_priv, vco); + } if (HAS_CDCLK_SQUASH(dev_priv)) { u16 waveform = cdclk_squash_waveform(dev_priv, cdclk); |