RE: no sound with CS4281 card

Rik van Riel (riel@conectiva.com.br)
Fri, 8 Jun 2001 23:33:02 -0300 (BRST)


On Thu, 31 May 2001, Woller, Thomas wrote:

> I'll send the latest driver that I have via separate email. Toshiba
> refuses to supply equipment, and there are some design issues with
> Toshiba laptops.

It turned out a one-liner change to the in-kernel driver
also worked (I was on holidays for a week, so I only see
this email after I got the thing to work ;))

--- linux-2.4.5-ac2/drivers/sound/cs4281/cs4281m.c.orig Fri Jun 1 09:19:57 2001
+++ linux-2.4.5-ac2/drivers/sound/cs4281/cs4281m.c Fri Jun 1 09:20:57 2001
@@ -658,7 +658,7 @@
card->pBA0 + BA0_ACCTL);

// Wait for the write to occur.
- for (count = 0; count < 10; count++) {
+ for (count = 0; count < 100; count++) {
// First, we want to wait for a short time.
udelay(25);
// Now, check to see if the write has completed.

regards,

Rik

--
Virtual memory is like a game you can't win;
However, without VM there's truly nothing to lose...

http://www.surriel.com/ http://distro.conectiva.com/

Send all your spam to aardvark@nl.linux.org (spam digging piggy)

- 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/