summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-05-11 14:07:45 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-06 23:09:17 +0200
commit8c7cb12ac1cc4ecc318765e0e2dcd853fa4a4d62 (patch)
tree58c579cbffffc169bff4652fcb90f3616ef795bb /drivers/media/video/cx88/cx88.h
parent[media] cx88: first phase to convert cx88 to the control framework (diff)
downloadlinux-8c7cb12ac1cc4ecc318765e0e2dcd853fa4a4d62.tar.xz
linux-8c7cb12ac1cc4ecc318765e0e2dcd853fa4a4d62.zip
[media] cx88: each device node gets the right controls
radio only sees audio controls, video sees video and audio and vbi sees none. Also disable the chroma_agc control if secam is selected. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx88/cx88.h')
-rw-r--r--drivers/media/video/cx88/cx88.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h
index f12a77b4532d..280bf6ab7b75 100644
--- a/drivers/media/video/cx88/cx88.h
+++ b/drivers/media/video/cx88/cx88.h
@@ -350,7 +350,9 @@ struct cx88_core {
/* config info -- analog */
struct v4l2_device v4l2_dev;
- struct v4l2_ctrl_handler hdl;
+ struct v4l2_ctrl_handler video_hdl;
+ struct v4l2_ctrl *chroma_agc;
+ struct v4l2_ctrl_handler audio_hdl;
struct v4l2_subdev *sd_wm8775;
struct i2c_client *i2c_rtc;
unsigned int boardnr;