Commit b41869711586b047c18435ba84baf334918bae01
Committed by
Mauro Carvalho Chehab
1 parent
1e2e9086c7
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
[media] uvcvideo: Return -EINVAL when setting a menu control to an invalid value
-ERANGE is the right error code when the value is outside of the menu range, but -EINVAL must be reported for invalid values inside the range. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/media/usb/uvc/uvc_ctrl.c