Home
last modified time | relevance | path

Searched hist:"5 ac61d26b8baff5b2e5a9f3dc1ef63297e4b53e7" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/i2c/busses/
H A Di2c-sun6i-p2wi.cdiff 5ac61d26b8baff5b2e5a9f3dc1ef63297e4b53e7 Wed Apr 13 02:54:30 CEST 2016 Axel Lin <axel.lin@ingics.com> 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>