i2c: rcar: bring hardware to known state when probing
When probing, the hardware is not brought into a known state. This may be a problem when a hypervisor restarts Linux without resetting the hardware, leaving an old state running. Make sure the hardware gets initialized, especially interrupts should be cleared and disabled. Reported-by:Dirk Behme <dirk.behme@de.bosch.com> Reported-by:
Geert Uytterhoeven <geert+renesas@glider.be> Closes: https://lore.kernel.org/r/20240702045535.2000393-1-dirk.behme@de.bosch.com Fixes: 6ccbe607 ("i2c: add Renesas R-Car I2C driver") Signed-off-by:
Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by:
Andi Shyti <andi.shyti@kernel.org>
parent
256abd8e
Please register or sign in to comment