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>
This commit is contained in:
Saravana Kannan 2015-08-18 14:26:11 -07:00 committed by David Keitel
parent aab1e601de
commit 67e12b02ec

View file

@ -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) {