[media] uvcvideo: Disable the queue when failing to start
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 30 May 2011 18:02:00 +0000 (15:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 1 Jul 2011 02:19:16 +0000 (23:19 -0300)
commitaa122d424b14b4a4c5ba302e668366717e9cac7b
treea15d7d1f4fb63e24f5d7940bf76eca7673a9bab8
parent8ca2c80b170c47eeb55f0c2a0f2b8edf85f35d49
[media] uvcvideo: Disable the queue when failing to start

When failing to start the camera we should disable the queue again, to
rollback into the same initial state. Otherwise re-trying will always
hit -EBUSY

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_video.c