Return 0 instead of returning size of the probe control on successful set. Signed-off-by: Pawel Osciak <posciak@xxxxxxxxxxxx> --- drivers/media/usb/uvc/uvc_video.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c index 695f6d9..1198989 100644 --- a/drivers/media/usb/uvc/uvc_video.c +++ b/drivers/media/usb/uvc/uvc_video.c @@ -296,6 +296,8 @@ static int uvc_set_video_ctrl(struct uvc_streaming *stream, "%d (exp. %u).\n", probe ? "probe" : "commit", ret, size); ret = -EIO; + } else { + ret = 0; } kfree(data); -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html