Skip to content
Commit 85ec7b97 authored by Colin Cross's avatar Colin Cross Committed by Kevin Hilman
Browse files

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: default avatarColin Cross <ccross@android.com>
Signed-off-by: default avatarKevin Hilman <khilman@ti.com>
parent 0622b25b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment