pinctrl: sunxi: Add spinlocks
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 4 Aug 2013 10:38:48 +0000 (12:38 +0200)
committerLinus Walleij <linus.walleij@stericsson.com>
Wed, 7 Aug 2013 19:57:17 +0000 (21:57 +0200)
commit1bee963db9dd82e12566bdae6710defb1206b38b
treeb3813fe68073ac24812489252faf3c93fd508deb
parentdf7b34f4c3d23f25b408d4c0d7f528092becce63
pinctrl: sunxi: Add spinlocks

The current code use no locking at all, which is obviously not that
great and can lead to concurrency issues, especially with the newer SMP
SoCs from Allwinner.

Add some locking where it's needed.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
drivers/pinctrl/pinctrl-sunxi.c
drivers/pinctrl/pinctrl-sunxi.h
This page took 0.025837 seconds and 5 git commands to generate.