| commit | 9ffe06b6ccd7a8eaa31d31625db009ea26a22a3c | [log] [tgz] |
|---|---|---|
| author | Esben Haabendal <esben@geanix.com> | Fri May 16 09:23:36 2025 +0200 |
| committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Oct 09 23:34:51 2025 +0200 |
| tree | 5ad5c72e1e92b27301442e226fdd8eca368ff268 | |
| parent | 795cda8338eab036013314dbc0b04aae728880ab [diff] |
rtc: isl12022: Fix initial enable_irq/disable_irq balance
Interrupts are automatically enabled when requested, so we need to
initialize irq_enabled accordingly to avoid causing an unbalanced enable
warning.
Fixes: c62d658e5253 ("rtc: isl12022: Add alarm support")
Signed-off-by: Esben Haabendal <esben@geanix.com>
Link: https://lore.kernel.org/r/20250516-rtc-uie-irq-fixes-v2-2-3de8e530a39e@geanix.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>