mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 07:23:14 +00:00
rtc: stm32: fix alarm interrupt flags by removing IRQF_TRIGGER_RISING
RTC alarm interrupt is active high and already configured by device tree. So remove IRQF_TRIGGER_RISING from driver. Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
This commit is contained in:
parent
2480564572
commit
d213217d21
@ -663,8 +663,7 @@ static int stm32_rtc_probe(struct platform_device *pdev)
|
||||
|
||||
/* Handle RTC alarm interrupts */
|
||||
ret = devm_request_threaded_irq(&pdev->dev, rtc->irq_alarm, NULL,
|
||||
stm32_rtc_alarm_irq,
|
||||
IRQF_TRIGGER_RISING | IRQF_ONESHOT,
|
||||
stm32_rtc_alarm_irq, IRQF_ONESHOT,
|
||||
pdev->name, rtc);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "IRQ%d (alarm interrupt) already claimed\n",
|
||||
|
Loading…
Reference in New Issue
Block a user