diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2015-09-21 16:47:04 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2015-10-14 07:57:14 -0700 |
commit | 47e4b5e152dd78476ed28ddeca3fd1ffe00cc3be (patch) | |
tree | f08bbf3de633f45ff42952f3692ccd37a03bd201 /drivers/hwmon | |
parent | 791432cfd95bea3515f8cdfaf72ec263e5d3da80 (diff) | |
download | linux-47e4b5e152dd78476ed28ddeca3fd1ffe00cc3be.tar.gz linux-47e4b5e152dd78476ed28ddeca3fd1ffe00cc3be.tar.bz2 linux-47e4b5e152dd78476ed28ddeca3fd1ffe00cc3be.zip |
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>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/abx500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/abx500.c b/drivers/hwmon/abx500.c index 1fd46859ed29..d87cae8c635f 100644 --- a/drivers/hwmon/abx500.c +++ b/drivers/hwmon/abx500.c @@ -377,7 +377,7 @@ static int setup_irqs(struct platform_device *pdev) } ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, - abx500_temp_irq_handler, IRQF_NO_SUSPEND, "abx500-temp", pdev); + abx500_temp_irq_handler, 0, "abx500-temp", pdev); if (ret < 0) dev_err(&pdev->dev, "Request threaded irq failed (%d)\n", ret); |