Message ID | 20210618122923.385938-4-ribalda@chromium.org |
---|---|
State | Accepted |
Commit | a2f8a484fbc96b8209a760cb3f2c95ca49c2cdb1 |
Headers | show |
Series | [v10,01/21] media: v4l2-ioctl: Fix check_ext_ctrls | expand |
diff --git a/drivers/media/usb/uvc/uvc_v4l2.c b/drivers/media/usb/uvc/uvc_v4l2.c index 252136cc885c..47b0e3224205 100644 --- a/drivers/media/usb/uvc/uvc_v4l2.c +++ b/drivers/media/usb/uvc/uvc_v4l2.c @@ -1089,10 +1089,6 @@ static int uvc_ioctl_s_try_ext_ctrls(struct uvc_fh *handle, unsigned int i; int ret; - /* Default value cannot be changed */ - if (ctrls->which == V4L2_CTRL_WHICH_DEF_VAL) - return -EINVAL; - ret = uvc_ctrl_begin(chain); if (ret < 0) return ret;