commit | b48f4b3be9206b9f88bee16665eb785636a0cb38 | [log] [tgz] |
---|---|---|
author | Imre Deak <imre.deak@intel.com> | Wed Feb 26 22:34:43 2020 +0200 |
committer | Imre Deak <imre.deak@intel.com> | Mon Mar 02 19:36:21 2020 +0200 |
tree | 5a3124ec12afec38f2a02dc243a8788489b864bb | |
parent | 7a9ccdd1e02533f3d8e866fdee97f4bc2069127b [diff] |
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: Imre Deak <imre.deak@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200226203455.23032-2-imre.deak@intel.com