diff options
| author | Kiran Gunda <[email protected]> | 2017-05-10 19:55:41 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-06-03 19:05:47 +0900 |
| commit | 76b069b1cb201748c3a87474fb8ef02be2a01ba8 (patch) | |
| tree | c826f3f772aeaaa3f0d3814f92fa6c86757affa2 | |
| parent | 319f68843db8005610a921942c9f539fdcf8017a (diff) | |
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 <[email protected]>
Signed-off-by: Kiran Gunda <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/spmi/spmi-pmic-arb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spmi/spmi-pmic-arb.c b/drivers/spmi/spmi-pmic-arb.c index 0deac33a2c30..2afe3597982e 100644 --- a/drivers/spmi/spmi-pmic-arb.c +++ b/drivers/spmi/spmi-pmic-arb.c @@ -1140,6 +1140,7 @@ static int spmi_pmic_arb_probe(struct platform_device *pdev) } irq_set_chained_handler_and_data(pa->irq, pmic_arb_chained_irq, pa); + enable_irq_wake(pa->irq); err = spmi_controller_add(ctrl); if (err) |