Skip to content
Commit b48f4b3b authored by Imre Deak's avatar Imre Deak
Browse files

drm/i915: Fix bounds check in intel_get_shared_dpll_id()



Fix an off-by-one error in the upper-bound check and while at it clear
up a bit the function.

Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200226203455.23032-2-imre.deak@intel.com
parent 7a9ccdd1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment