From: Mauro Carvalho Chehab Date: Tue, 8 Aug 2006 12:10:02 +0000 (-0300) Subject: V4L/DVB (4354): A small fix at fmi->flags logic X-Git-Tag: v2.6.19-rc1~643^2~166 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa38ad6592558660086e8ed4b12e5fdf90e78f90;p=linux-2.6 V4L/DVB (4354): A small fix at fmi->flags logic Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/radio/radio-sf16fmi.c b/drivers/media/radio/radio-sf16fmi.c index 43524119ac..5b62285ed0 100644 --- a/drivers/media/radio/radio-sf16fmi.c +++ b/drivers/media/radio/radio-sf16fmi.c @@ -165,7 +165,7 @@ static int fmi_do_ioctl(struct inode *inode, struct file *file, v->rangelow = RSF16_MINFREQ/mult; v->rangehigh = RSF16_MAXFREQ/mult; v->rxsubchans =V4L2_TUNER_SUB_MONO | V4L2_TUNER_MODE_STEREO; - v->capability=fmi->flags; + v->capability=fmi->flags&V4L2_TUNER_CAP_LOW; v->audmode = V4L2_TUNER_MODE_STEREO; v->signal = fmi_getsigstr(fmi);