diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-04-27 03:26:30 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-17 11:56:48 -0300 |
commit | 000e4f9a5bcf86fb52914c445ce5634b65e910a2 (patch) | |
tree | 88e6df0acadda540020be1d364fcdde2ab8cac91 /include/media | |
parent | 0176077a813933a547b7a913377a87d615b7c108 (diff) | |
download | linux-000e4f9a5bcf86fb52914c445ce5634b65e910a2.tar.bz2 |
[media] v4l2-ctrls: rewrite copy routines to operate on union v4l2_ctrl_ptr
In order to implement array support and (for the future) configuration stores
we need to have more generic copy routines that all operate on the v4l2_ctrl_ptr
union. So instead of e.g. using ctrl->cur.string it uses ptr.p_char. This makes
e.g. cur_to_user generic so it can be used to copy any v4l2_ctrl_ptr value to
userspace, not just the (hardcoded) current value.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions