pinctrl: rockchip: Protect read-modify-write with the spinlock
authorDoug Anderson <dianders@chromium.org>
Tue, 21 Oct 2014 17:47:35 +0000 (10:47 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 29 Oct 2014 20:06:49 +0000 (21:06 +0100)
There were a few instances where the rockchip pinctrl driver would do
read-modify-write with no spinlock.  Add a spinlock for these cases.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/pinctrl/pinctrl-rockchip.c

Simple merge