mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04: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
1 changed files with 1 additions and 2 deletions
|
|
@ -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 a new issue