gpio: pcf857x: get rid of slock spinlock
authorGrygorii Strashko <grygorii.strashko@ti.com>
Thu, 25 Jun 2015 15:18:11 +0000 (18:18 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jul 2015 08:44:57 +0000 (10:44 +0200)
commit049aaf9f7e30731ce030eef3e4fd255cf8b1ae02
treef5c7eac9b67300da06f2ce7459e497611864687c
parent65194cb174b873448b208eb6e04ecb72237af76e
gpio: pcf857x: get rid of slock spinlock

The spinlock 'slock' is used now to protect pcf857x_irq() from itself
which is unnecessary (especially after switching to use threaded
IRQs). Hence, remove it and use mutex to protect device data in IRQ
handler.

Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pcf857x.c
This page took 0.025773 seconds and 5 git commands to generate.