[PATCH] Fix complete freeze on Dell latitude in nm256_audio.c

Simon Josefsson (jas@extundo.com)
Wed, 22 May 2002 19:49:14 +0200


Please add this to the 2.4 tree. Without it, Dell Latitude laptops
completely freeze when loading the module. Thanks.

--- linux/drivers/sound/nm256_audio.c.orig Sun Sep 30 21:26:08 2001
+++ linux/drivers/sound/nm256_audio.c Wed May 22 19:46:48 2002
@@ -896,7 +896,9 @@

/* Reset the mixer. 'Tis magic! */
nm256_writePort8 (card, 2, 0x6c0, 1);
- nm256_writePort8 (card, 2, 0x6cc, 0x87);
+ /* The following line crashes Dell Latitude laptops and doesn't
+ * seem to do any harm on other machines.
+ nm256_writePort8 (card, 2, 0x6cc, 0x87); */
nm256_writePort8 (card, 2, 0x6cc, 0x80);
nm256_writePort8 (card, 2, 0x6cc, 0x0);

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