forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
319f68843d
commit
76b069b1cb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user