diff options
| author | 2025-06-18 18:39:51 +0530 | |
|---|---|---|
| committer | 2025-06-19 15:15:22 +0530 | |
| commit | 4f9c81d64f030c1f3d96c5fd356cfb6e68ef9fc2 (patch) | |
| tree | c69687cfea596584eb439f6f2e0c71ac1e883403 /net/openvswitch/ssh:/git@git.zx2c4.com | |
| parent | drm/i915/snps_hdmi_pll: Fix 64-bit divisor truncation by using div64_u64 (diff) | |
drm/i915/snps_hdmi_pll: Use clamp() instead of max(min())
The values of ana_cp_int, and ana_cp_prop are clamped between 1 and 127.
Use the more intuitive and readable clamp() macro instead of using
nested max(min(...)).
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://lore.kernel.org/r/20250618130951.1596587-3-ankit.k.nautiyal@intel.com
Diffstat (limited to 'net/openvswitch/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
