Axel Lin 5ac61d26b8 i2c: sun6i-p2wi: Prevent potential division by zero
Make sure we don't OOPS in case clock-frequency is set to 0 in a DT. The
variable set here is later used as a divisor.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2023-10-29 20:30:07 +01:00
..
2023-01-17 09:29:59 +01:00
2023-04-27 12:07:50 -07:00
2023-09-13 10:56:00 +02:00