diff options
-rw-r--r-- | drivers/media/video/usbvideo/usbvideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/usbvideo/usbvideo.c b/drivers/media/video/usbvideo/usbvideo.c index a42049de2bb6..148a1f98c70f 100644 --- a/drivers/media/video/usbvideo/usbvideo.c +++ b/drivers/media/video/usbvideo/usbvideo.c | |||
@@ -1123,7 +1123,7 @@ static int usbvideo_v4l_open(struct inode *inode, struct file *file) | |||
1123 | if (uvd->debug > 1) | 1123 | if (uvd->debug > 1) |
1124 | dev_info(&uvd->dev->dev, "%s($%p)\n", __func__, dev); | 1124 | dev_info(&uvd->dev->dev, "%s($%p)\n", __func__, dev); |
1125 | 1125 | ||
1126 | if (0 < usbvideo_ClientIncModCount(uvd)) | 1126 | if (usbvideo_ClientIncModCount(uvd) < 0) |
1127 | return -ENODEV; | 1127 | return -ENODEV; |
1128 | mutex_lock(&uvd->lock); | 1128 | mutex_lock(&uvd->lock); |
1129 | 1129 | ||