]> git.karo-electronics.de Git - linux-beck.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)
commit2a9ec3731137f973c6289698de6566a25418b96f
treeeb223ef2c2860dc1dd7bdd6fa06a7fca2210b133
parent9ea1b7a4b66fddfab9e65e243b72d18371f8d9a5
[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