commit | 24c3aae0c740ae9837284266ea82234415721dc1 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Tue Oct 25 09:03:42 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sun Dec 11 11:13:29 2011 -0200 |
tree | a6ba9f1ff29057195ef6ea9bb2ae7ea6eb99e524 | |
parent | 6998b6fb4b1c8f320adeee938d399c4d8dcc90e2 [diff] |
[media] uvcvideo: Handle uvc_init_video() failure in uvc_video_enable() Turn streaming off (by selecting alternate setting 0) and disable the video buffers queue in the uvc_video_enable() error path. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>