rtc: twl: add missing IRQF_ONESHOT
PATCH 1/1 rtc: twl: add missing IRQF_ONESHOT
This patch gets rid of the following warning:
[ 2.825378] genirq: Threaded irq requested with \ handler=NULL and !ONESHOT for irq 363
Signed-off-by Felipe Balbi <[email protected]>
--- drivers/rtc/rtc-twl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-twl.c +1 -1
@@ -510,7 +510,7 @@ static int __devinit twl_rtc_probe(struct platform_device *pdev) } ret =request_threaded_irq (irq,NULL , twl_rtc_interrupt, -IRQF_TRIGGER_RISING , +IRQF_TRIGGER_RISING |IRQF_ONESHOT ,dev_name (&rtc->dev), rtc);if (ret <0 ) {dev_err (&pdev->dev,"IRQ is not free.\n" );
Signature · 1 line
1.7.10.4
Quoted 7 lines · Felipe Balbi
This patch gets rid of the following warning:
[ 2.825378] genirq: Threaded irq requested with \
handler=NULL and !ONESHOT for irq 363Signed-off-by Felipe Balbi <[email protected]>---
Ming Lei has posted a similar fix earlier [1]
Regards
Santosh
http://lkml.indiana.edu/hypermail/linux/kernel/1205.2/00668.html
Hi,
Quoted 10 lines · Santosh
Quoted 7 lines · Felipe Balbi
This patch gets rid of the following warning:
[ 2.825378] genirq: Threaded irq requested with \
handler=NULL and !ONESHOT for irq 363Signed-off-by Felipe Balbi <[email protected]>---
Ming Lei has posted a similar fix earlier [1]
good, never mind this one then
Signature · 1 line
balbi