Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124456
b: refs/heads/master
c: be49e36
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 8e07493 commit a3d09ac
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 14983d8163c78826386404b27ee5bfc72e25a9d4
refs/heads/master: be49e368fb6e20c3a90c566b040ac3d248e2ce29
2 changes: 1 addition & 1 deletion trunk/drivers/media/video/usbvideo/usbvideo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ static int usbvideo_v4l_open(struct inode *inode, struct file *file)
if (uvd->debug > 1)
dev_info(&uvd->dev->dev, "%s($%p)\n", __func__, dev);

if (0 < usbvideo_ClientIncModCount(uvd))
if (usbvideo_ClientIncModCount(uvd) < 0)
return -ENODEV;
mutex_lock(&uvd->lock);

Expand Down

0 comments on commit a3d09ac

Please sign in to comment.