Fix complete freeze on Dell latitude in nm256_audio.c
PATCH 1/1 Fix complete freeze on Dell latitude in nm256_audio.c
Please add this to the 2.4 tree. Without it, Dell Latitude laptops completely freeze when loading the module. Thanks.
drivers/sound/nm256_audio.c Wed May 22 19:46:48 2002 renamed from drivers/sound/nm256_audio.c.orig Sun Sep 30 21:26:08 2001 +3 -1
@@ -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);
Quoted 4 lines · Alan Cox
Quoted 2 lines
Please add this to the 2.4 tree. Without it, Dell Latitude laptops completely freeze when loading the module. Thanks.
The change below has been in the tree for a while already
I only checked the latest release, not the patches. Ok, thanks!
Quoted 2 lines
Please add this to the 2.4 tree. Without it, Dell Latitude laptops completely freeze when loading the module. Thanks.
The change below has been in the tree for a while already
Quoted 12 lines
drivers/sound/nm256_audio.c Wed May 22 19:46:48 2002 renamed from drivers/sound/nm256_audio.c.orig Sun Sep 30 21:26:08 2001 +3
-1@@ -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);