Wolfram Sang 392b4f1149 i2c: rcar: bring hardware to known state when probing
[ Upstream commit 4e36c0f20cb1c74c7bd7ea31ba432c1c4a989031 ]

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: 6ccbe607132b ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-18 11:40:56 +02:00
..
2023-09-23 10:59:52 +02:00
2024-07-18 11:40:55 +02:00
2024-04-13 12:51:26 +02:00
2023-11-20 10:30:12 +01:00
2024-02-23 08:25:15 +01:00
2024-02-23 08:24:54 +01:00
2024-07-05 09:08:30 +02:00
2024-01-25 14:34:21 -08:00
2023-07-27 08:37:19 +02:00