]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rtc: rzn1: clear interrupts on remove
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 12 Mar 2025 10:00:00 +0000 (11:00 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 8 Apr 2025 14:17:45 +0000 (16:17 +0200)
commit0bddd060a6a3a10e6ebd386cc4d9a897e8a60861
tree8cf59f9c36ef2438bbd3e7cefbe671af47f9ade8
parent8003a5585fc8466b22e000204d29cf2fa5e21e3a
rtc: rzn1: clear interrupts on remove

It is good practice to clear running interrupts before removing the
driver. This is not really a bugfix because on current systems RuntimePM
will disable the module clock, so interrupts won't be initiated. The
dependency on that behaviour is subtle, though. Better be self-contained
and clean up when removing.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250312100105.36767-2-wsa+renesas@sang-engineering.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rzn1.c