diff options
author | Josh Cartwright <joshc@codeaurora.org> | 2014-03-05 20:33:08 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-03-12 14:54:28 +0100 |
commit | 6aced33f4974ab240971fdb5e42d7bebacd8ee45 (patch) | |
tree | accc658912cb2376be713779ff800f77ce017b67 /drivers/pinctrl/pinctrl-imx35.c | |
parent | pinctrl-baytrail: add function mux checking in gpio pin request (diff) | |
download | linux-6aced33f4974ab240971fdb5e42d7bebacd8ee45.tar.xz linux-6aced33f4974ab240971fdb5e42d7bebacd8ee45.zip |
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/pinctrl-imx35.c')
0 files changed, 0 insertions, 0 deletions