diff options
author | Markus Schneider-Pargmann <msp@baylibre.com> | 2022-12-06 14:57:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-12-31 15:32:27 +0300 |
commit | 9f38ec24342664520e28828dcb2a753cfe631037 (patch) | |
tree | cec810cf3e2dbe002a06ee379c908d67c64e7c11 /mm/ptdump.c | |
parent | 8718e17e0fac4c735e283c8540f8dda64bd9a67a (diff) | |
download | linux-9f38ec24342664520e28828dcb2a753cfe631037.tar.xz |
can: tcan4x5x: Remove invalid write in clear_interrupts
[ Upstream commit 40c9e4f676abbe194541d88e796341c92d5a13c0 ]
Register 0x824 TCAN4X5X_MCAN_INT_REG is a read-only register. Any writes
to this register do not have any effect.
Remove this write. The m_can driver aldready clears the interrupts in
m_can_isr() by writing to M_CAN_IR which is translated to register
0x1050 which is a writable version of this register.
Fixes: 5443c226ba91 ("can: tcan4x5x: Add tcan4x5x driver to the kernel")
Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com>
Link: https://lore.kernel.org/all/20221206115728.1056014-9-msp@baylibre.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm/ptdump.c')
0 files changed, 0 insertions, 0 deletions