mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] Fix complete freeze on Dell latitude in nm256_audio.c
Date: Wed, 22 May 2002 19:49:14 +0200	[thread overview]
Message-ID: <ilur8k4t6n9.fsf@latte.josefsson.org> (raw)

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



             reply	other threads:[~2002-05-22 17:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-22 17:49 Simon Josefsson [this message]
2002-05-22 18:16 ` Alan Cox
2002-05-22 18:12   ` Simon Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilur8k4t6n9.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®