]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-ctrls: use ptrs for all but the s32 type
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 27 Apr 2014 06:38:13 +0000 (03:38 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 17 Jul 2014 14:57:17 +0000 (11:57 -0300)
commit097e91c2e33b8113eec28fa1ade97bb49952556e
treeeb223ef2c2860dc1dd7bdd6fa06a7fca2210b133
parent31ff8bc816bec3d5e1b3550ff0f658424cdcd6e9
[media] v4l2-ctrls: use ptrs for all but the s32 type

Rather than having two unions for all types just keep 'val' and
'cur.val' and use the p_cur and p_new unions to access all others.

The only reason for keeping 'val' and 'cur.val' is that it is used
all over, so converting this as well would be a huge job.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Documentation/video4linux/v4l2-controls.txt
drivers/media/i2c/mt9v032.c
drivers/media/i2c/smiapp/smiapp-core.c
drivers/media/pci/ivtv/ivtv-controls.c
drivers/media/platform/vivi.c
drivers/media/radio/si4713/si4713.c
drivers/media/v4l2-core/v4l2-ctrls.c
drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c
include/media/v4l2-ctrls.h