diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-01-11 13:22:39 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-28 21:37:11 (GMT) |
commit | b41869711586b047c18435ba84baf334918bae01 (patch) | |
tree | 36de334462c207e4140b25b2f26df72a036e710a /drivers/media/usb/em28xx | |
parent | 1e2e9086c7a668489383a6cb7e7a8d7ac86bca36 (diff) | |
download | linux-fsl-qoriq-b41869711586b047c18435ba84baf334918bae01.tar.xz |
[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>
Diffstat (limited to 'drivers/media/usb/em28xx')
0 files changed, 0 insertions, 0 deletions