diff options
Diffstat (limited to 'drivers/media/video/uvc/uvc_v4l2.c')
-rw-r--r-- | drivers/media/video/uvc/uvc_v4l2.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/media/video/uvc/uvc_v4l2.c b/drivers/media/video/uvc/uvc_v4l2.c index 8cf61e8a634f..9005a8d9d5f8 100644 --- a/drivers/media/video/uvc/uvc_v4l2.c +++ b/drivers/media/video/uvc/uvc_v4l2.c | |||
@@ -1035,11 +1035,8 @@ static long uvc_v4l2_do_ioctl(struct file *file, unsigned int cmd, void *arg) | |||
1035 | return uvc_xu_ctrl_query(chain, arg, 1); | 1035 | return uvc_xu_ctrl_query(chain, arg, 1); |
1036 | 1036 | ||
1037 | default: | 1037 | default: |
1038 | if ((ret = v4l_compat_translate_ioctl(file, cmd, arg, | 1038 | uvc_trace(UVC_TRACE_IOCTL, "Unknown ioctl 0x%08x\n", cmd); |
1039 | uvc_v4l2_do_ioctl)) == -ENOIOCTLCMD) | 1039 | return -EINVAL; |
1040 | uvc_trace(UVC_TRACE_IOCTL, "Unknown ioctl 0x%08x\n", | ||
1041 | cmd); | ||
1042 | return ret; | ||
1043 | } | 1040 | } |
1044 | 1041 | ||
1045 | return ret; | 1042 | return ret; |