commit | 049aaf9f7e30731ce030eef3e4fd255cf8b1ae02 | [log] [tgz] |
---|---|---|
author | Grygorii Strashko <grygorii.strashko@ti.com> | Thu Jun 25 18:18:11 2015 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Thu Jul 16 10:44:57 2015 +0200 |
tree | f5c7eac9b67300da06f2ce7459e497611864687c | |
parent | 65194cb174b873448b208eb6e04ecb72237af76e [diff] |
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>