]> Pileus Git - ~andy/linux/commit
[media] em28xx-video: Swap release order to avoid lock nesting
authorRicardo Ribalda <ricardo.ribalda@gmail.com>
Wed, 6 Nov 2013 08:39:35 +0000 (05:39 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 9 Dec 2013 16:50:51 +0000 (14:50 -0200)
commitbdee6bdb67e84aaf26a163aced908f4ab6bbd06b
tree26093dfeeaa09369d2d6581b861bde6dfab0524c
parent20e5d580195cd4200b0f92d8007784b28c61b235
[media] em28xx-video: Swap release order to avoid lock nesting

vb2_fop_release might take the video queue mutex lock.
In order to avoid nesting mutexes the private mutex is taken after the
fop_release has finished.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-video.c