summaryrefslogtreecommitdiff
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorSaravana Kannan <skannan@codeaurora.org>2015-08-18 14:26:11 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:04:35 -0700
commit67e12b02ec5bc1d00d53fb62537efadfa2579461 (patch)
tree90ce62b74628fa52d2179384aebda166aeba9f06 /drivers/devfreq
parentaab1e601dee194e8be2dc07883f5a58694c2f8d2 (diff)
PM / devfreq: bimc-bwmon: Fix IRQ registration in resume path
The IRQ registration on the resume path was not updated properly when the high sampling rate algorithm was implemented. Update it so that the IRQ registration is done correctly. Change-Id: I17a016dd9c0b50c7b415beda21368cb4586d203c Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r--drivers/devfreq/bimc-bwmon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/devfreq/bimc-bwmon.c b/drivers/devfreq/bimc-bwmon.c
index cb68590b4014..d4a56c98cb4c 100644
--- a/drivers/devfreq/bimc-bwmon.c
+++ b/drivers/devfreq/bimc-bwmon.c
@@ -305,7 +305,8 @@ static int resume_bw_hwmon(struct bw_hwmon *hw)
int ret;
mon_clear(m);
- ret = request_threaded_irq(m->irq, NULL, bwmon_intr_handler,
+ ret = request_threaded_irq(m->irq, bwmon_intr_handler,
+ bwmon_intr_thread,
IRQF_ONESHOT | IRQF_SHARED,
dev_name(m->dev), m);
if (ret) {