From: Hans Verkuil Date: Sat, 20 Jun 2009 09:09:33 +0000 (-0300) Subject: V4L/DVB (12214): bttv: set RDS capability if applicable. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6a052c84342dd047226ecad0e1aa4e4b37d45a6c;p=openwrt%2Fstaging%2Fblogic.git V4L/DVB (12214): bttv: set RDS capability if applicable. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- 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;