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-Tag: v2.6.32-rc1~679^2~188 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a052c84342dd047226ecad0e1aa4e4b37d45a6c;p=profile%2Fivi%2Fkernel-x86-ivi.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 a595953..939d1e5 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;