diff options
author | Kiran Gunda <kgunda@codeaurora.org> | 2017-07-28 10:10:43 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-28 14:51:19 +0300 |
commit | cdeef07a8dd5ea45b2f2ec4169d2669dddd24e6c (patch) | |
tree | eae97bac9910f87aef56286ad9210f1dafc8c6fc /crypto/tgr192.c | |
parent | ff615ed91b5dffa0f1977ee1d703f697e2b4d62f (diff) | |
download | linux-cdeef07a8dd5ea45b2f2ec4169d2669dddd24e6c.tar.xz |
spmi: pmic-arb: use irq_chip callback to set spmi irq wakeup capability
Currently the driver sets the pmic arbiter core interrupt as wakeup capable
irrespective of the child irqs which causes the system to wakeup
unnecessarily. To fix this, set the core interrupt as wakeup capable
only if any of the child irqs request for it. Do this by marking it as
wakeup capable in the irq_set_wake callback.
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/tgr192.c')
0 files changed, 0 insertions, 0 deletions