clk: meson-gxbb: round the vdec dividers to closest
authorMaxime Jourdan <mjourdan@baylibre.com>
Tue, 19 Mar 2019 10:25:37 +0000 (11:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 May 2019 15:54:06 +0000 (17:54 +0200)
commit74f5898f660d971cd8f0899fe57e209ccd650931
tree6ddefecb0d8865046a2f4e5a3c0b3a56b4642a08
parent8aa62dc731e52b989dad6ab676156d6eaa2a4c9e
clk: meson-gxbb: round the vdec dividers to closest

[ Upstream commit 9b70c697e87286ade406e6a02091757307dd4b7c ]

We want the video decoder clocks to always round to closest. While the
muxes are already using CLK_MUX_ROUND_CLOSEST, the corresponding
CLK_DIVIDER_ROUND_CLOSEST was forgotten for the dividers.

Fix this by adding the flag to the two vdec dividers.

Fixes: a565242eb9fc ("clk: meson: gxbb: add the video decoder clocks")
Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lkml.kernel.org/r/20190319102537.2043-1-mjourdan@baylibre.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/meson/gxbb.c