summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-06-20 11:09:33 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-12 17:17:29 +0200
commit6a052c84342dd047226ecad0e1aa4e4b37d45a6c (patch)
treed669dccc4e7bcf742a24988722177ff06551ea17
parentV4L/DVB (12212): v4l2: add RDS API to videodev2.h (diff)
downloadlinux-6a052c84342dd047226ecad0e1aa4e4b37d45a6c.tar.xz
linux-6a052c84342dd047226ecad0e1aa4e4b37d45a6c.zip
V4L/DVB (12214): bttv: set RDS capability if applicable.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/bt8xx/bttv-driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c
index a5959538d116..939d1e512974 100644
--- a/drivers/media/video/bt8xx/bttv-driver.c
+++ b/drivers/media/video/bt8xx/bttv-driver.c
@@ -2652,6 +2652,8 @@ static int bttv_querycap(struct file *file, void *priv,
V4L2_CAP_VBI_CAPTURE |
V4L2_CAP_READWRITE |
V4L2_CAP_STREAMING;
+ if (btv->has_saa6588)
+ cap->capabilities |= V4L2_CAP_RDS_CAPTURE;
if (no_overlay <= 0)
cap->capabilities |= V4L2_CAP_VIDEO_OVERLAY;