Home
last modified time | relevance | path

Searched hist:"98 c24dcd" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-video.c98c24dcd Wed Nov 06 02:39:35 CST 2013 Ricardo Ribalda <ricardo.ribalda@gmail.com> [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>
98c24dcd Wed Nov 06 02:39:35 CST 2013 Ricardo Ribalda <ricardo.ribalda@gmail.com> [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>