diff options
author | Matti Aaltonen <matti.j.aaltonen@nokia.com> | 2010-10-18 06:54:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-22 23:49:47 -0200 |
commit | cb0ed22270129b980257fa9c83b152f09ecd9eda (patch) | |
tree | b8fff62d7802a2ef4653227a989346b2b0dbb7bb /drivers/media/radio/radio-cadet.c | |
parent | eb8942e9b6150d3cc89640f1fb243ca9626a1d14 (diff) | |
download | op-kernel-dev-cb0ed22270129b980257fa9c83b152f09ecd9eda.zip op-kernel-dev-cb0ed22270129b980257fa9c83b152f09ecd9eda.tar.gz |
[media] [RFC,1/1] V4L2: Use new CAP bits in existing RDS capable drivers
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/radio-cadet.c')
-rw-r--r-- | drivers/media/radio/radio-cadet.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-cadet.c b/drivers/media/radio/radio-cadet.c index 482d0f3b..b701ea6 100644 --- a/drivers/media/radio/radio-cadet.c +++ b/drivers/media/radio/radio-cadet.c @@ -374,7 +374,8 @@ static int vidioc_g_tuner(struct file *file, void *priv, switch (v->index) { case 0: strlcpy(v->name, "FM", sizeof(v->name)); - v->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS; + v->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS | + V4L2_TUNER_CAP_RDS_BLOCK_IO; v->rangelow = 1400; /* 87.5 MHz */ v->rangehigh = 1728; /* 108.0 MHz */ v->rxsubchans = cadet_getstereo(dev); |