Skip to content
Commit 8c676a84 authored by Baolin Wang's avatar Baolin Wang Committed by Greg Kroah-Hartman
Browse files

mfd: sprd: Add wakeup capability for PMIC IRQ



commit a75bfc82 upstream.

When changing to use suspend-to-idle to save power, the PMIC irq can not
wakeup the system due to lack of wakeup capability, which will cause
the sub-irqs (such as power key) of the PMIC can not wake up the system.
Thus we can add the wakeup capability for PMIC irq to solve this issue,
as well as removing the IRQF_NO_SUSPEND flag to allow PMIC irq to be
a wakeup source.

Reported-by: default avatarChunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: default avatarBaolin Wang <baolin.wang7@gmail.com>
Tested-by: default avatarChunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8e3f68da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment