summaryrefslogtreecommitdiffstats
path: root/kernel/notifier.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-06-06 22:38:18 +0200
committerKevin Hilman <khilman@ti.com>2011-06-07 01:12:34 +0200
commit85ec7b970553369e0c956fab1d7a6022f2a99369 (patch)
treeee66d404199eb4a1cd0c1608b30377e798c305b3 /kernel/notifier.c
parentGPIO: OMAP: fix setting IRQWAKEN bits for OMAP4 (diff)
downloadlinux-85ec7b970553369e0c956fab1d7a6022f2a99369.tar.xz
linux-85ec7b970553369e0c956fab1d7a6022f2a99369.zip
GPIO: OMAP: add locking around calls to _set_gpio_triggering
_set_gpio_triggering uses read-modify-write on bank registers, lock bank->lock around all calls to it to prevent register corruption if two cpus access gpios in the same bank at the same time. Signed-off-by: Colin Cross <ccross@android.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'kernel/notifier.c')
0 files changed, 0 insertions, 0 deletions