summaryrefslogtreecommitdiff
path: root/firmware/tehuti
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-08-28 21:38:58 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-11-28 12:24:48 (GMT)
commitf0ed2ce840b3a59b587e8aa398538141a86e9588 (patch)
tree8a17d0bd6229e8a29d01a43d24d3fdfecb03d49a /firmware/tehuti
parente9de051666a42dc7866267f85869170bcc6b957a (diff)
downloadlinux-fsl-qoriq-f0ed2ce840b3a59b587e8aa398538141a86e9588.tar.xz
[media] uvcvideo: Set error_idx properly for extended controls API failures
When one of the requested controls doesn't exist the error_idx field must reflect that situation. For G_EXT_CTRLS and S_EXT_CTRLS, error_idx must be set to the control count. For TRY_EXT_CTRLS, it must be set to the index of the unexisting control. This issue was found by the v4l2-compliance tool. 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 'firmware/tehuti')
0 files changed, 0 insertions, 0 deletions