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:
parent
aab1e601de
commit
67e12b02ec
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue