[media] usbvision: fix locking error
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 20 Jul 2015 12:59:35 +0000 (09:59 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 09:53:21 +0000 (06:53 -0300)
commite2c84ccb0fbe5e524d15bb09c042a6ca634adaed
tree97c1bcec456783f436727cc426dda20aa8e0ccbb
parent4eeda6faaec4b11e3738ba3ad533d440f628faca
[media] usbvision: fix locking error

If remove_pending is non-zero, then the v4l2_lock is never unlocked.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/usbvision/usbvision-video.c