]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitfea2f3b5d70058789e80852bd4244e0c6110ecbf
treea15d7d1f4fb63e24f5d7940bf76eca7673a9bab8
parentac4662ff2af782b6dced6c4397d33a49e3a3d007
[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