pinctrl: intel: Protect set wake flow by spin lock
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 8 Jul 2016 11:30:46 +0000 (14:30 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 11 Jul 2016 09:15:33 +0000 (11:15 +0200)
commit9a520fd99f2c3feb178d6d05e347beb9017dc07b
treebbb76e6994d930ce8a7c014020e3c68f26d19c35
parenta6e5e4a6243d7afce486d89c32481564bf669844
pinctrl: intel: Protect set wake flow by spin lock

It seems intel_gpio_irq_wake() misses lock protection against I/O flow.
Use spin lock here as well.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-intel.c