2005-01-08 01:29:59

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] bttv-cards.c: #if 0 function bttv_reset_audio (fwd)

The patch forwarded below still applies and compiles against 2.6.10-mm2.

Please apply.


----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Thu, 16 Dec 2004 23:18:05 +0100
From: Adrian Bunk <[email protected]>
To: Gerd Knorr <[email protected]>
Cc: [email protected], [email protected]
Subject: [2.6 patch] bttv-cards.c: #if 0 function bttv_reset_audio

The function bttv_reset_audio in drivers/media/video/bttv-cards.c is
completely unused.


Signed-off-by: Adrian Bunk <[email protected]>

--- linux-2.6.10-rc3-mm1-full/drivers/media/video/bttv-cards.c.old 2004-12-16 22:20:07.000000000 +0100
+++ linux-2.6.10-rc3-mm1-full/drivers/media/video/bttv-cards.c 2004-12-16 22:20:30.000000000 +0100
@@ -2498,7 +2498,7 @@
}

/* ----------------------------------------------------------------------- */
-
+#if 0
void bttv_reset_audio(struct bttv *btv)
{
/*
@@ -2519,6 +2519,7 @@
udelay(10);
btwrite( 0, 0x058);
}
+#endif /* 0 */

/* initialization part one -- before registering i2c bus */
void __devinit bttv_init_card1(struct bttv *btv)


2005-01-10 09:00:39

by Gerd Knorr

[permalink] [raw]
Subject: Re: [2.6 patch] bttv-cards.c: #if 0 function bttv_reset_audio (fwd)

On Sat, Jan 08, 2005 at 02:29:00AM +0100, Adrian Bunk wrote:
> The patch forwarded below still applies and compiles against 2.6.10-mm2.

And it's still wrong, bttv_reset_audio() is not superfluous.

> Please apply.

No.

Gerd