diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-06-20 11:09:52 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 17:17:32 +0200 |
commit | f101a2a7877d0573d93649a62c4ed65284e7ed9d (patch) | |
tree | 91ea6f8f1a15aefac92bae675fb3b51c0775e520 /drivers/media/video/saa7134/saa7134-video.c | |
parent | V4L/DVB (12215): saa6588: conform to the final RDS spec. (diff) | |
download | linux-f101a2a7877d0573d93649a62c4ed65284e7ed9d.tar.xz linux-f101a2a7877d0573d93649a62c4ed65284e7ed9d.zip |
V4L/DVB (12216): saa7134: set RDS capability if applicable.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-video.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-video.c b/drivers/media/video/saa7134/saa7134-video.c index bf4c99d19150..58854df5382b 100644 --- a/drivers/media/video/saa7134/saa7134-video.c +++ b/drivers/media/video/saa7134/saa7134-video.c @@ -1819,6 +1819,8 @@ static int saa7134_querycap(struct file *file, void *priv, V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | V4L2_CAP_TUNER; + if (dev->has_rds) + cap->capabilities |= V4L2_CAP_RDS_CAPTURE; if (saa7134_no_overlay <= 0) cap->capabilities |= V4L2_CAP_VIDEO_OVERLAY; |