diff options
author | 2020-02-11 14:51:21 +0100 | |
---|---|---|
committer | 2020-02-21 14:51:56 +0100 | |
commit | 023892ec80f0efcffe22045e92bb89f3f1480f2d (patch) | |
tree | c890c7f8999cd36ae767d50a661c6acc4c4ba57f /drivers/gpio/gpiolib-of.c | |
parent | gpio: mockup: coding-style fix (diff) | |
download | wireguard-linux-023892ec80f0efcffe22045e92bb89f3f1480f2d.tar.xz wireguard-linux-023892ec80f0efcffe22045e92bb89f3f1480f2d.zip |
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>
Diffstat (limited to 'drivers/gpio/gpiolib-of.c')
0 files changed, 0 insertions, 0 deletions