Baolin Wang 88ccabbd20 mfd: sprd: Add wakeup capability for PMIC IRQ
commit a75bfc824a2d33f57ebdc003bfe6b7a9e11e9cb9 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: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Tested-by: Chunyan Zhang <chunyan.zhang@unisoc.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-18 19:20:26 +01:00
..
2019-08-14 09:07:20 +01:00
2019-07-15 20:18:40 -07:00
2019-07-15 20:18:40 -07:00
2019-07-15 20:18:40 -07:00
2019-07-02 12:11:31 +01:00
2019-07-02 12:11:31 +01:00
2019-07-02 12:11:31 +01:00
2019-07-15 20:18:40 -07:00
2019-09-23 19:37:49 -07:00
2019-07-15 20:18:40 -07:00
2017-07-18 08:27:18 +01:00
2020-10-29 09:57:43 +01:00
2019-01-16 13:59:34 +00:00
2019-07-09 08:59:39 -07:00