[PATCH] 2.5.44 bttv-driver.c

Bongani (bhlope@mweb.co.za)
Mon, 21 Oct 2002 00:23:10 +0200


Hi Gerd

You are listing as the maintainer of the bttv driver, so I hope I'm sending
this to the correct person. The bttv drivers are printing the following
following "debug" information, which is filling up my messages file the patch
bellow seems to fix it.

Oct 20 04:03:01 localhost kernel: bttv0: amux: mode=-1 audio=1 signal=no
mux=4/1 irq=yes
Oct 20 04:03:01 localhost kernel: bttv0: amux: mode=-1 audio=1 signal=yes
mux=1/1 irq=yes
Oct 20 04:03:08 localhost kernel: bttv0: amux: mode=-1 audio=1 signal=no
mux=4/1 irq=yes
Oct 20 04:03:08 localhost kernel: bttv0: amux: mode=-1 audio=1 signal=yes
mux=1/1 irq=yes
Oct 20 04:03:09 localhost kernel: bttv0: amux: mode=-1 audio=1 signal=no
mux=4/1 irq=yes
Oct 20 04:03:09 localhost kernel: bttv0: amux: mode=-1 audio=1 signal=yes
mux=1/1 irq=yes
Oct 20 04:03:10 localhost kernel: bttv0: amux: mode=-1 audio=1 signal=no
mux=4/1 irq=yes

Could you please foward the patch to Linus.(If you think its correct that is
;)

Thanx

--- linux-2.5/drivers/media/video/bttv-driver.c.old 2002-10-21
00:08:50.000000000 +0200
+++ linux-2.5/drivers/media/video/bttv-driver.c 2002-10-21 00:09:17.000000000
+0200
@@ -813,7 +813,7 @@
i2c_mux = mux = (btv->audio & AUDIO_MUTE) ? AUDIO_OFF : btv->audio;
if (btv->opt_automute && !signal && !btv->radio_user)
mux = AUDIO_OFF;
- printk("bttv%d: amux: mode=%d audio=%d signal=%s mux=%d/%d irq=%s\n",
+ dprintk(KERN_DEBUG "bttv%d: amux: mode=%d audio=%d signal=%s mux=%d/%d
irq=%s\n",
btv->nr, mode, btv->audio, signal ? "yes" : "no",
mux, i2c_mux, in_interrupt() ? "yes" : "no");

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/