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> |
||
|---|---|---|
| .. | ||
| ipu-common.c | ||
| ipu-cpmem.c | ||
| ipu-csi.c | ||
| ipu-dc.c | ||
| ipu-di.c | ||
| ipu-dmfc.c | ||
| ipu-dp.c | ||
| ipu-ic.c | ||
| ipu-prv.h | ||
| ipu-smfc.c | ||
| Kconfig | ||
| Makefile | ||