Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re-enable DVB-C analog module



Hi all,
with the attached patch I can again tune with my analog module.

Regards

Dominik

Index: linux/drivers/media/dvb/ttpci/av7110_v4l.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/ttpci/av7110_v4l.c,v
retrieving revision 1.4
diff -u -3 -p -r1.4 av7110_v4l.c
--- linux/drivers/media/dvb/ttpci/av7110_v4l.c	9 Jan 2004 13:44:57 -0000	1.4
+++ linux/drivers/media/dvb/ttpci/av7110_v4l.c	10 Jan 2004 14:33:12 -0000
@@ -340,7 +340,7 @@ printk("VIDIOC_G_TUNER: msp3400 TV stand
 
 		DEB_EE(("VIDIOC_S_FREQUENCY: freq:0x%08x.\n", f->frequency));
 
-		if (av7110->has_analog_tuner || av7110->current_input != 1)
+		if (!av7110->has_analog_tuner || av7110->current_input != 1)
 			return -EINVAL;
 
 		if (V4L2_TUNER_ANALOG_TV != f->type)

Home | Main Index | Thread Index