drm/i915/pch: replace BUG_ON() with drm_WARN_ON()

Avoid BUG_ON(). Replace with drm_WARN_ON().

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220830093411.1511040-3-jani.nikula@intel.com
This commit is contained in:
Jani Nikula 2022-08-30 12:34:09 +03:00
parent b801a98f81
commit 8482af4bd2

View File

@ -654,7 +654,7 @@ static void ilk_init_pch_refclk(struct drm_i915_private *dev_priv)
}
}
BUG_ON(val != final);
drm_WARN_ON(&dev_priv->drm, val != final);
}
/*