pinctrl: rockchip: Protect read-modify-write with the spinlock
commitfab262f5000407ce86a010ab5bc683c01c02d1a6
authorDoug Anderson <dianders@chromium.org>
Tue, 21 Oct 2014 17:47:35 +0000 (21 10:47 -0700)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 29 Oct 2014 20:06:49 +0000 (29 21:06 +0100)
tree9ad659d5a9adc5f1e94cff33bdbf397a28c3ef8d
parent0fb7dcb1b3328e2ec4958b681f2e31dfd8f004fb
pinctrl: rockchip: Protect read-modify-write with the spinlock

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