Skip to contentSkip to conversation

2.5.44 bttv-driver.c

PATCH Superseded Bongani 1 participant 1 message Oct 20, 2002

lore
Share & tools
lore

Bongani

author
#0 lore raw

PATCH 1/1 2.5.44 bttv-driver.c

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");