mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
The clk API may return 0 on clk_get_rate, so we should check the result before using it as a divisor. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: David S. Miller <davem@davemloft.net>