pinctrl: exynos: Add spinlocks to irq_mask and irq_unmask
authorDoug Anderson <dianders@chromium.org>
Wed, 12 Jun 2013 17:33:17 +0000 (10:33 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Jun 2013 10:01:54 +0000 (12:01 +0200)
commit5ae8cf7980858bcd7559034c716ada440e4cb181
tree5dcf4744cf1e03fca72686fc2c7fd9fcb3e1614c
parentce06f40740bc9320e7a22c1964ba408f03c0d013
pinctrl: exynos: Add spinlocks to irq_mask and irq_unmask

The patch:
  1984695 pinctrl: samsung: Protect bank registers with a spinlock

...added spinlocks to protect many accesses.  However, the irq_mask
and irq_unmask functions still do an unprotected read/modify/write.
Add the spinlock there.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-exynos.c