It is difficult to understand its scale if number has many 0s.
This patch uses "* 1000" to avoid it in rcar_du_dpll_divider().
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
output = input * (n + 1) / (m + 1)
/ (fdpll + 1);
- if (output >= 400000000)
+ if (output >= 400 * 1000 * 1000)
continue;
diff = abs((long)output - (long)target);