V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a.
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / usb / media / vicam.c
index 8cfc47b831fb9bb29b06936c4c5f1ad24c873caa..1d06e53ec7c59269f0b1ca4a5bda550af7d34f3f 100644 (file)
@@ -764,6 +764,7 @@ vicam_open(struct inode *inode, struct file *file)
        if (!cam) {
                printk(KERN_ERR
                       "vicam video_device improperly initialized");
+               return -EINVAL;
        }
 
        /* the videodev_lock held above us protects us from