|
@@ -968,6 +968,9 @@ static long do_video_ioctl(struct file *file, unsigned int cmd, unsigned long ar
|
|
set_fs(old_fs);
|
|
set_fs(old_fs);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (err == -ENOTTY)
|
|
|
|
+ return err;
|
|
|
|
+
|
|
/* Special case: even after an error we need to put the
|
|
/* Special case: even after an error we need to put the
|
|
results back for these ioctls since the error_idx will
|
|
results back for these ioctls since the error_idx will
|
|
contain information on which control failed. */
|
|
contain information on which control failed. */
|