aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1
diff options
context:
space:
mode:
authorGravatar Bartosz Golaszewski <bartosz.golaszewski@linaro.org> 2023-09-20 10:56:39 +0200
committerGravatar Bartosz Golaszewski <bartosz.golaszewski@linaro.org> 2023-10-02 15:34:32 +0200
commitc31071eabb448c58e0c43d519932af42dfc8f07d (patch)
tree4736d815d0ab7825c5c04f84226d01682f738ac7 /arch/arm/mach-omap1
parentgpio: sim: add missing include (diff)
downloadlinux-c31071eabb448c58e0c43d519932af42dfc8f07d.tar.gz
linux-c31071eabb448c58e0c43d519932af42dfc8f07d.tar.bz2
linux-c31071eabb448c58e0c43d519932af42dfc8f07d.zip
gpiolib: extend the critical sections of lookup tables
There are two places in the code where we retrieve a lookup table using gpiod_find_lookup_table() (which protects the table list with the lookup table lock) and then use it after the lock is released. We need to keep the lookup table mutex locked the entire time we're using the tables. Remove the locking from gpiod_find_lookup_table() and use guards to protect the code actually using the table objects. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-omap1')
0 files changed, 0 insertions, 0 deletions