Axel Lin 90e3c3dd93 i2c: sun6i-p2wi: Prevent potential division by zero
[ Upstream commit 5ac61d26b8baff5b2e5a9f3dc1ef63297e4b53e7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-28 16:54:52 +00:00
..
2020-05-20 15:28:03 +02:00
2020-09-27 15:14:16 +02:00
2021-05-14 09:50:37 +02:00
2021-09-15 09:50:42 +02:00
2021-09-15 09:50:42 +02:00
2021-05-14 09:50:37 +02:00
2022-10-26 13:25:22 +02:00
2021-09-15 09:50:42 +02:00
2023-08-11 11:57:31 +02:00
2021-09-15 09:50:44 +02:00
2022-03-08 19:09:30 +01:00