Skip to content

Commit 76b069b

Browse files
I-n-o-kgregkh
authored andcommitted
spmi: spmi-pmic-arb: enable the SPMI interrupt as a wakeup source
Currently the SPMI interrupt will not wake the device. Enable this interrupt as a wakeup source. Signed-off-by: Nicholas Troast <ntroast@codeaurora.org> Signed-off-by: Kiran Gunda <kgunda@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 319f688 commit 76b069b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/spmi/spmi-pmic-arb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,7 @@ static int spmi_pmic_arb_probe(struct platform_device *pdev)
11401140
}
11411141

11421142
irq_set_chained_handler_and_data(pa->irq, pmic_arb_chained_irq, pa);
1143+
enable_irq_wake(pa->irq);
11431144

11441145
err = spmi_controller_add(ctrl);
11451146
if (err)

0 commit comments

Comments
 (0)