gpio: siox: use raw spinlock for irq related locking
authorUwe Kleine-König <uwe@kleine-koenig.org>
Tue, 11 Feb 2020 13:51:21 +0000 (14:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 21 Feb 2020 13:51:56 +0000 (14:51 +0100)
commit023892ec80f0efcffe22045e92bb89f3f1480f2d
treec890c7f8999cd36ae767d50a661c6acc4c4ba57f
parentf6e51bb331d51d4b08fe9b766c5ed442f889c853
gpio: siox: use raw spinlock for irq related locking

All the irq related callbacks are called with the (raw) spinlock
desc->lock being held. So the lock here must be raw as well. Also irqs
were already disabled by the caller for the irq chip callbacks, so the
non-irq variants of spin_lock must be used there.

Fixes: be8c8facc707 ("gpio: new driver to work with a 8x12 siox")
Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Link: https://lore.kernel.org/r/20200211135121.15752-1-uwe@kleine-koenig.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-siox.c