]> git.baikalelectronics.ru Git - kernel.git/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)
commitf1cbf8feffc0b741340e2e03b22f8c55cfc02e3a
tree734f76c48db2828da29ca870735f11ff108a352f
parentbadc32c37e2a1261bf953611ce3c8819a4dcea34
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