diff options
author | Kiran Gunda <kgunda@codeaurora.org> | 2017-07-28 12:40:43 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-28 13:51:19 +0200 |
commit | cdeef07a8dd5ea45b2f2ec4169d2669dddd24e6c (patch) | |
tree | eae97bac9910f87aef56286ad9210f1dafc8c6fc /lib/mpi | |
parent | ff615ed91b5dffa0f1977ee1d703f697e2b4d62f (diff) |
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 'lib/mpi')
0 files changed, 0 insertions, 0 deletions