]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (abx500) drop the use of IRQF_NO_SUSPEND
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 21 Sep 2015 15:47:04 +0000 (16:47 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 14 Oct 2015 14:57:14 +0000 (07:57 -0700)
commit9daba3bc34f651a70990c1a189fedc781a0c3e21
treef08bbf3de633f45ff42952f3692ccd37a03bd201
parent3169cafc8c0a92e45ca9b67173321feb192135fb
hwmon: (abx500) drop the use of IRQF_NO_SUSPEND

The description in the driver states: "ABX500 does not provide auto ADC,
so to monitor the required temperatures, a periodic work is used. It is
more important to not wake up the CPU... If the chip gets too hot during
a sleep state it's most likely due to external factors, such as the
surrounding temperature and nothing can be done in S/W."

So it makes no sense to keep IRQs enabled as it need not be wakeup
source. This patch removes the use of IRQF_NO_SUSPEND flag

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/abx500.c