commit | 37cd3b73683f15f1b6313d0de476726aa0942a75 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Tue Jun 07 04:40:04 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Jul 27 17:53:16 2011 -0300 |
tree | c947c202742fb4e86434e3231f12b929120e5c88 | |
parent | 54c911eb919b44b178bda67564f274197872bd04 [diff] |
[media] v4l2-ctrls: simplify error_idx handling 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>