UPSTREAM: pinctrl: rockchip: convert to raw spinlock
authorJohn Keeping <john@metanate.com>
Thu, 23 Mar 2017 10:59:29 +0000 (10:59 +0000)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 1 Jun 2017 06:25:22 +0000 (14:25 +0800)
commit794ac90e0d7b52342510d6a6d38f09e892c77a53
tree2ca0e29ec8332c24ee69c5ffef5ed090a0504622
parent270dec724364567089cf1446de237aa27660d941
UPSTREAM: pinctrl: rockchip: convert to raw spinlock

This lock is used from rockchip_irq_set_type() which is part of the
irq_chip implementation and thus must use raw_spinlock_t as documented
in Documentation/gpio/driver.txt.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David Wu <david.wu@rock-chips.com>
(cherry picked from commit 70b7aa7a87b4593f50f634dc721e18bd1f9e5448)

Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: I039ee4067832026f564989a05503e7507d178ee1
drivers/pinctrl/pinctrl-rockchip.c