commit | 1bee963db9dd82e12566bdae6710defb1206b38b | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@free-electrons.com> | Sun Aug 04 12:38:48 2013 +0200 |
committer | Linus Walleij <linus.walleij@stericsson.com> | Wed Aug 07 21:57:17 2013 +0200 |
tree | b3813fe68073ac24812489252faf3c93fd508deb | |
parent | df7b34f4c3d23f25b408d4c0d7f528092becce63 [diff] |
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>