commit | f411f103822379bab356345430f097bdae3440e5 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Sat Apr 30 09:46:11 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri May 20 09:30:45 2011 -0300 |
tree | 78a74656a8978e2021a8bdd0575ae9207cea7e96 | |
parent | fc2d573fb4e65393688d32bc128c70ddd8ecccc6 [diff] |
[media] uvcvideo: Return -ERANGE when userspace sets an unsupported menu entry Instead of passing the value down to the device and getting an error back (or worse, crashing the firmware), return -ERANGE when the requested menu entry is not supported. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>