diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-05-11 09:07:45 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-07-06 18:09:17 -0300 |
commit | 8c7cb12ac1cc4ecc318765e0e2dcd853fa4a4d62 (patch) | |
tree | 58c579cbffffc169bff4652fcb90f3616ef795bb /drivers/media/video/cx88/cx88.h | |
parent | bac639818c2c720ea8f79f932601f9209579bf14 (diff) | |
download | lwn-8c7cb12ac1cc4ecc318765e0e2dcd853fa4a4d62.tar.gz lwn-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.h | 4 |
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; |