]> git.itanic.dy.fi Git - linux-stable/commit
gpio: pca953x: disable regmap locking
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 7 Apr 2020 15:42:45 +0000 (17:42 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 17 Apr 2020 06:25:29 +0000 (08:25 +0200)
commitaa58a21ae37894d456a2f91a37e9fd71ad4aa27e
tree734f76c48db2828da29ca870735f11ff108a352f
parent96d7c7b3e6545612c1d37944621fdd611afd6adf
gpio: pca953x: disable regmap locking

This driver uses its own locking but regmap silently uses a mutex for
all operations too. Add the option to disable locking to the regmap
config struct.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c