pinctrl: mediatek: fix suspend/resume timing issue
authorhongkun.cao <hongkun.cao@mediatek.com>
Fri, 3 Jun 2016 03:28:14 +0000 (11:28 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 8 Jun 2016 08:09:40 +0000 (10:09 +0200)
commitd2fcd62a9c6ad5122cbe2c8f5a45e2f31dbda169
treec298080e104d8438feadfe0dfb1af8c5acc7616e
parent4d6ddd3b2279d56a72a75a3c07c85f69c4f94eef
pinctrl: mediatek: fix suspend/resume timing issue

An irq which is a wake up source maybe masked unexpectedly if the wake
up source irq was triggered after pinctrl irqchip suspend and before
suspend_device_irqs finished.
Use *_noirq callbacks to guarantee pinctrl irqchip suspend would be
called after suspend_devices_irqs.

Signed-off-by: hongkun.cao <hongkun.cao@mediatek.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mtk-common.c