]> err.no Git - linux-2.6/commitdiff
V4L/DVB (4354): A small fix at fmi->flags logic
authorMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 8 Aug 2006 12:10:02 +0000 (09:10 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 26 Sep 2006 14:53:13 +0000 (11:53 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/radio/radio-sf16fmi.c

index 43524119ac1cb7620571aa73daeed718d592445f..5b62285ed0ce7d9dddbb8f1c397ac8cd767154dc 100644 (file)
@@ -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);