]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtc: ds1343: remove misuse of IRQF_NO_SUSPEND flag
authorSudeep Holla <Sudeep.Holla@arm.com>
Mon, 21 Sep 2015 15:47:02 +0000 (16:47 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 3 Oct 2015 15:17:37 +0000 (17:17 +0200)
commitbb158b653c6767d0ec295dfb8ebd61c330a67cd9
treeb0cfd1b58e615fd88010f729dc17e91d0dba2d58
parent857803c767c6cff0111669342d06bc6a08c93670
rtc: ds1343: remove misuse of IRQF_NO_SUSPEND flag

The IRQF_NO_SUSPEND flag is used to identify the interrupts that should
be left enabled so as to allow them to work as expected during the
suspend-resume cycle, but doesn't guarantee that it will wake the system
from a suspended state, enable_irq_wake is recommended to be used for
the wakeup.

This patch removes the use of IRQF_NO_SUSPEND flags and uses newly
introduce PM wakeup APIs dev_pm_{set,clear}_wake_irq.

Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: rtc-linux@googlegroups.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-ds1343.c