drm/i915/cdclk: s/-1/~0/ when dealing with unsigned values
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 Nov 2023 11:51:31 +0000 (13:51 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Dec 2023 18:46:02 +0000 (20:46 +0200)
commite2e1916008aacf706ffa6bba65714c6d6200b196
tree5bb345eaa4ba1426ad945b43c457cefffb56231a
parente93bffc2ac0a833b42841f31fff955549d38ce98
drm/i915/cdclk: s/-1/~0/ when dealing with unsigned values

cdclk_pll_is_unknown() used ~0 when checking for the "VCO is
unknown" value, but the assignment uses -1. They are the same
in the end, but let's use the same ~0 form on both sides for
consistency.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231128115138.13238-2-ville.syrjala@linux.intel.com
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
drivers/gpu/drm/i915/display/intel_cdclk.c