aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2016-05-30 15:11:59 +0000
committerLinus Walleij <[email protected]>2016-05-30 15:11:59 +0000
commit545ebd9a9be6bcbcf3e8dc24b874bfd634131946 (patch)
treef71f325c741cddd9141d9a750f6bf7dec0566454 /drivers/gpu/drm/omapdrm/omap_gem.c
parentgpio: bail out silently on NULL descriptors (diff)
downloadkernel-545ebd9a9be6bcbcf3e8dc24b874bfd634131946.tar.gz
kernel-545ebd9a9be6bcbcf3e8dc24b874bfd634131946.zip
gpio: drop lock before reading GPIO direction
When adding the gpiochip, the GPIO HW drivers' callback get_direction() could get called in atomic context. Some of the GPIO HW drivers may sleep when accessing the register. Move the lock before initializing the descriptors. Reported-by: Laxman Dewangan <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions