video: ipuv3: use closest fractional divider
Currently the divider is always rounded down, which may lead to a
rather big overshoot of the display clock. Try to match the clock
better by rounding to closest.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 08a9c3e commit 6b14328204f3978abeb91e8e779f6444c3c74df8
@Lucas Stach Lucas Stach authored on 12 Nov 2018
Sascha Hauer committed on 19 Nov 2018
Showing 1 changed file
View
drivers/video/imx-ipu-v3/ipu-di.c