]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: ti-sn65dsi86: zero is never greater than an unsigned int
authorDouglas Anderson <dianders@chromium.org>
Wed, 18 Dec 2019 22:35:23 +0000 (14:35 -0800)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 13 Feb 2020 09:21:08 +0000 (10:21 +0100)
commitb8d978347f45874a574b32eb7c24a35ab26437c9
tree7f30c120007c4e26bd0004a120bf60b87eea1f8d
parent8fb756397eacf5bb98cb94369cdf85ab6e91670a
drm/bridge: ti-sn65dsi86: zero is never greater than an unsigned int

When we iterate over ti_sn_bridge_dp_rate_lut, there's no reason to
start at index 0 which always contains the value 0.  0 is not a valid
link rate.

This change should have no real effect but is a small cleanup.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191218143416.v3.2.Id445d0057bedcb0a190009e0706e9254c2fd48eb@changeid
drivers/gpu/drm/bridge/ti-sn65dsi86.c