gpio: pca953x: disable regmap locking for automatic address incrementing
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 5 Jun 2020 13:40:36 +0000 (16:40 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2020 07:34:29 +0000 (09:34 +0200)
commita073671be2a1459a4b92985c839feafc33c0df57
tree2a1e758dc96f9ff42fe7b83004af1cecad9b9253
parent7924e77bf17003aad76f31126d27afe17439876d
gpio: pca953x: disable regmap locking for automatic address incrementing

commit ec3decd21380081e3b5de4ba8d85d90a95f201a0 upstream.

It's a repetition of the commit aa58a21ae378
  ("gpio: pca953x: disable regmap locking")
which states the following:

  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.

Fixes: bcf41dc480b1 ("gpio: pca953x: fix handling of automatic address incrementing")
Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpio-pca953x.c