Jinjie Ruan b6cd7adec0 rtc: st-lpc: Use IRQF_NO_AUTOEN flag in request_irq()
If request_irq() fails in st_rtc_probe(), there is no need to enable
the irq, and if it succeeds, disable_irq() after request_irq() still has
a time gap in which interrupts can come.

request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable when
request IRQ.

Fixes: b5b2bdfc2893 ("rtc: st: Add new driver for ST's LPC RTC")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Link: https://lore.kernel.org/r/20240912033727.3013951-1-ruanjinjie@huawei.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2024-11-10 23:01:59 +01:00
..
2024-03-08 12:05:10 +01:00
2024-09-27 08:18:43 -07:00
2024-01-18 01:00:21 +01:00
2023-10-15 23:01:08 +02:00
2024-08-28 21:54:51 +01:00
2024-09-22 01:17:10 +02:00
2024-05-07 23:40:10 +02:00
2023-04-26 11:40:26 +01:00
2024-09-12 00:33:24 +02:00