pinctrl: single: call pcs_soc->rearm() whenever IRQ mask is changed
authorRoger Quadros <rogerq@ti.com>
Fri, 11 Oct 2013 16:13:16 +0000 (19:13 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 14 Nov 2013 18:43:17 +0000 (10:43 -0800)
commitc9b3a7d227068ccf25f435b1b0720ccc73ee5178
tree167c5b361856f28c323c284659e6535ba3efe0cd
parent30e3488cbfe6e8af0832be715081c49b08299b73
pinctrl: single: call pcs_soc->rearm() whenever IRQ mask is changed

On OMAPs the IO ring must be rearmed each time the pad wakeup
configuration is changed. So call pcs_soc->rearm() from
pcs_irq_set().

As pinctrl-single is now an interrupt controller in some cases,
we should follow the standards and keep the interrupts enabled
constantly, and not just for wake-up events. The tracking of
runtime vs wake-up interrupts can be handled separately for
the automated runtime PM solution when we have it in the
future.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
[tony@atomide.com: removed wrong comment, updated description]
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/pinctrl/pinctrl-single.c