]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/bridge: ti-sn65dsi86: Fix off-by-one error in clock choice
authorDouglas Anderson <dianders@chromium.org>
Tue, 5 May 2020 04:32:29 +0000 (21:32 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 18 May 2020 18:29:57 +0000 (20:29 +0200)
commitfe3d7a35497c807d0dad0642afd87d6ba5b6fc86
tree936717506fcf7e5f6572c7c6e439f470b8416ed3
parentbaef4d56195b6d6e0f681f6eac03d8c6db011d34
drm/bridge: ti-sn65dsi86: Fix off-by-one error in clock choice

If the rate in our table is _equal_ to the rate we want then it's OK
to pick it.  It doesn't need to be greater than the one we want.

Fixes: a095f15c00e2 ("drm/bridge: add support for sn65dsi86 bridge driver")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200504213225.1.I21646c7c37ff63f52ae6cdccc9bc829fbc3d9424@changeid
drivers/gpu/drm/bridge/ti-sn65dsi86.c