diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-23 22:43:21 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-03-23 22:43:21 +0000 |
commit | 3c3c7a09f67b2a233bb32d98b3df6f483d084938 (patch) | |
tree | 8994c82dc95e201e6cf0bba6828baa1ec8149617 /linux/drivers/media/video/cx88/cx88-blackbird.c | |
parent | 61c3ec3f76deac31da89cd2055fd87990320e8f2 (diff) | |
download | mediapointer-dvb-s2-3c3c7a09f67b2a233bb32d98b3df6f483d084938.tar.gz mediapointer-dvb-s2-3c3c7a09f67b2a233bb32d98b3df6f483d084938.tar.bz2 |
cx88: Add user control for chroma AGC
From: Frej Drejhammar <frej.drejhammar@gmail.com>
The cx2388x family has support for chroma AGC. This patch implements a
the V4L2_CID_CHROMA_AGC control for the cx2388x family. By default
chroma AGC is disabled, as in previous versions of the driver.
Signed-off-by: "Frej Drejhammar <frej.drejhammar@gmail.com>"
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-blackbird.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-blackbird.c b/linux/drivers/media/video/cx88/cx88-blackbird.c index 5159e3eda..ab409da51 100644 --- a/linux/drivers/media/video/cx88/cx88-blackbird.c +++ b/linux/drivers/media/video/cx88/cx88-blackbird.c @@ -711,7 +711,7 @@ static int blackbird_queryctrl(struct cx8802_dev *dev, struct v4l2_queryctrl *qc return -EINVAL; /* Standard V4L2 controls */ - if (cx8800_ctrl_query(qctrl) == 0) + if (cx8800_ctrl_query(dev->core, qctrl) == 0) return 0; /* MPEG V4L2 controls */ @@ -959,7 +959,7 @@ static int vidioc_queryctrl (struct file *file, void *priv, qctrl->id = v4l2_ctrl_next(ctrl_classes, qctrl->id); if (unlikely(qctrl->id == 0)) return -EINVAL; - return cx8800_ctrl_query(qctrl); + return cx8800_ctrl_query(dev->core, qctrl); } static int vidioc_enum_input (struct file *file, void *priv, |