diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-07-07 10:28:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-18 11:39:39 +0200 |
commit | a291702b35433e4948476b79c034a21fd2b5ebc8 (patch) | |
tree | 64dd5339bfa4c14e798d08cc89aef83578b2014c /arch/m68k/amiga/amisound.c | |
parent | ff9767ba2cb949701e45e6e4287f8af82986b703 (diff) | |
download | linux-stable-a291702b35433e4948476b79c034a21fd2b5ebc8.tar.gz linux-stable-a291702b35433e4948476b79c034a21fd2b5ebc8.tar.bz2 linux-stable-a291702b35433e4948476b79c034a21fd2b5ebc8.zip |
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>
Diffstat (limited to 'arch/m68k/amiga/amisound.c')
0 files changed, 0 insertions, 0 deletions