[media] v4l2-ctrls: simplify error_idx handling
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 7 Jun 2011 07:40:04 +0000 (04:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:16 +0000 (17:53 -0300)
The lower-level prepare functions just set error_idx for each control that
might have an error. The high-level functions will override this with
cs->count in the get and set cases. Only try will keep the error_idx.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found