diff options
author | Steve Longerbeam <slongerbeam@gmail.com> | 2014-12-19 03:00:26 +0100 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2015-01-07 19:15:04 +0100 |
commit | 503f1631ae8f42a386193c92cc4488d35978352e (patch) | |
tree | f90982a4e002c56599a7693270d6f035991297dc /drivers/gpu/drm/imx/ipuv3-crtc.c | |
parent | gpu: ipu-v3: Use videomode in struct ipu_di_signal_cfg (diff) | |
download | linux-503f1631ae8f42a386193c92cc4488d35978352e.tar.xz linux-503f1631ae8f42a386193c92cc4488d35978352e.zip |
gpu: ipu-di: Switch to DIV_ROUND_CLOSEST for DI clock divider calc
We can use the DIV_ROUND_CLOSEST() macro when calculating the DI
clock divider, rounded to nearest int.
Suggested-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx/ipuv3-crtc.c')
0 files changed, 0 insertions, 0 deletions