rtc: flextimer: report interrupt state to user mode
PATCH 1/1 rtc: flextimer: report interrupt state to user mode
Report interrupt state to user mode
Signed-off-by Biwen Li <[email protected]>
--- drivers/rtc/rtc-fsl-ftm-alarm.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/rtc/rtc-fsl-ftm-alarm.c +2 -0
@@ -151,6 +151,8 @@ static irqreturn_t ftm_rtc_alarm_interrupt(int irq, void *dev) {struct ftm_rtc *rtc = dev; +rtc_update_irq (rtc->rtc_dev,1 ,RTC_IRQF |RTC_AF ); +ftm_irq_acknowledge (rtc);ftm_irq_disable (rtc);ftm_clean_alarm (rtc);
Signature · 1 line
2.17.1
Quoted 7 lines · Biwen Li
Report interrupt state to user mode
Signed-off-by Biwen Li <[email protected]>--- drivers/rtc/rtc-fsl-ftm-alarm.c | 2 ++ 1 file changed, 2 insertions(+)
Applied, thanks. I reworked the commit message because the alarm is not necessarily going to userspace.
Signature · 3 lines
Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com