summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/mvebu/pinctrl-dove.c
diff options
context:
space:
mode:
authorJosh Cartwright <joshc@codeaurora.org>2014-03-05 23:33:08 +0400
committerLinus Walleij <linus.walleij@linaro.org>2014-03-12 17:54:28 +0400
commit6aced33f4974ab240971fdb5e42d7bebacd8ee45 (patch)
treeaccc658912cb2376be713779ff800f77ce017b67 /drivers/pinctrl/mvebu/pinctrl-dove.c
parent42bd00706ce95d74ad6ebcb8528ee1fbbb992f6a (diff)
downloadlinux-6aced33f4974ab240971fdb5e42d7bebacd8ee45.tar.xz
pinctrl: msm: drop wake_irqs bitmap
Currently, the wake_irqs bitmap is used to track whether there are any gpio's which are configured as wake irqs, and uses this to determine whether or not to call enable_irq_wake()/disable_irq_wake() on the summary interrupt. However, the genirq core already handles this case, by maintaining a 'wake_count' per irq_desc, and only calling into the controlling irq_chip when wake_count transitions 0 <-> 1. Drop this bitmap, and unconditionally call irq_set_irq_wake() on the summary interrupt. Signed-off-by: Josh Cartwright <joshc@codeaurora.org> Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mvebu/pinctrl-dove.c')
0 files changed, 0 insertions, 0 deletions