Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254637
b: refs/heads/master
c: aa122d4
h: refs/heads/master
i:
  254635: 2492f9a
v: v3
  • Loading branch information
Sjoerd Simons authored and Mauro Carvalho Chehab committed Jul 1, 2011
1 parent aa98d02 commit e621166
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ca2c80b170c47eeb55f0c2a0f2b8edf85f35d49
refs/heads/master: aa122d424b14b4a4c5ba302e668366717e9cac7b
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/uvc/uvc_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1255,8 +1255,10 @@ int uvc_video_enable(struct uvc_streaming *stream, int enable)

/* Commit the streaming parameters. */
ret = uvc_commit_video(stream, &stream->ctrl);
if (ret < 0)
if (ret < 0) {
uvc_queue_enable(&stream->queue, 0);
return ret;
}

return uvc_init_video(stream, GFP_KERNEL);
}
Expand Down

0 comments on commit e621166

Please sign in to comment.