]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl-sx150x: Remove excessive locking
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Mon, 7 Nov 2016 16:53:18 +0000 (08:53 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Nov 2016 08:44:10 +0000 (09:44 +0100)
commite7a1a3d52091a4d4414ca1736ac9f0da854e1bec
treeb0125231347ff757ee46c4d89973702f4f7f692b
parent83340e64f0eadc2f9f1a3e07376ee3b657cebc80
pinctrl-sx150x: Remove excessive locking

Gpiochip and irqchip aspects of this driver do not access any shared
registers on the chip itself and atomicity of various regmap operations
is ensured by that API's implementation, so there doesn't seem to be a
reason to hold the lock in as many places as it is held now.

Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sx150x.c