[media] uvcvideo: Don't stop the stream twice at file handle release
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 21 Oct 2014 19:07:15 +0000 (16:07 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 25 Nov 2014 10:40:37 +0000 (08:40 -0200)
commit3f02de275e5c4374ffeba554c7b9fa85ea13ecc5
tree744860903ad98d498b3713c8bee5e39b3988c4f0
parenta11a03e50b73234444f7d439fb8ee6eaec3cffd1
[media] uvcvideo: Don't stop the stream twice at file handle release

When releasing the file handle the driver calls the vb2_queue_release
which turns the stream off. There's thus no need to turn the stream off
explicitly beforehand.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/uvc/uvc_queue.c
drivers/media/usb/uvc/uvc_v4l2.c
drivers/media/usb/uvc/uvcvideo.h