From b1f5f57df537b3be3260e781d12d3507e2be48a2 Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Sat, 10 Jan 2004 15:51:45 +0000 Subject: - make VIDIOC_S_FREQUENCY work again. I don't know who broke it... --- linux/drivers/media/dvb/ttpci/av7110_v4l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb') diff --git a/linux/drivers/media/dvb/ttpci/av7110_v4l.c b/linux/drivers/media/dvb/ttpci/av7110_v4l.c index 5ba4feb88..a5a53cb28 100644 --- a/linux/drivers/media/dvb/ttpci/av7110_v4l.c +++ b/linux/drivers/media/dvb/ttpci/av7110_v4l.c @@ -340,7 +340,7 @@ printk("VIDIOC_G_TUNER: msp3400 TV standard detection: 0x%04x\n", stereo_det); 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) -- cgit v1.2.3