]> git.baikalelectronics.ru Git - kernel.git/commit
omapfb: dss: Fix max fclk divider for omap36xx
authorAdam Ford <aford173@gmail.com>
Tue, 30 Jun 2020 18:26:36 +0000 (13:26 -0500)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 10 Jul 2020 14:17:26 +0000 (16:17 +0200)
commit8d574458dcd18219b27669b5a8aa6ea3909b27ce
tree70efadddfef0aa6e584c8af452be6d15d70e0401
parent047c618a89e418bc9c2c12f5b0b9a852aa79b81f
omapfb: dss: Fix max fclk divider for omap36xx

The drm/omap driver was fixed to correct an issue where using a
divider of 32 breaks the DSS despite the TRM stating 32 is a valid
number.  Through experimentation, it appears that 31 works, and
it is consistent with the value used by the drm/omap driver.

This patch fixes the divider for fbdev driver instead of the drm.

Fixes: b716406cc3ed ("omapfb: copy omapdss & displays for omapfb")
Cc: <stable@vger.kernel.org> #4.5+
Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Dave Airlie <airlied@gmail.com>
Cc: Rob Clark <robdclark@gmail.com>
[b.zolnierkie: mark patch as applicable to stable 4.5+ (was 4.9+)]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200630182636.439015-1-aford173@gmail.com
drivers/video/fbdev/omap2/omapfb/dss/dss.c