Re: OPL3SA2: spin_is_locked on uninitialized spinlock

From: Andrew Morton (akpm_at_osdl.org)
Date: 08/13/03

  • Next message: jeff millar: "Re: SOLUTION Re: 2.6.0-test3 cannot mount root fs"
    Date:	Wed, 13 Aug 2003 05:04:48 -0700
    To: Felipe Alfaro Solana <felipe_alfaro@linuxmail.org>
    
    

    Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> wrote:
    >
    > I've found a lot of errors like this when loading the OPL3SA2 sound
    > driver on my old Intel AL440LX computer, running 2.6.0-test3-mm1:
    >
    > sound/isa/opl3sa2.c:204: spin_is_locked on uninitialized spinlock
    > d6200034.

    Does this help?

    diff -puN sound/isa/opl3sa2.c~opl3sa2-lock-init-fix sound/isa/opl3sa2.c
    --- 25/sound/isa/opl3sa2.c~opl3sa2-lock-init-fix 2003-08-13 05:03:32.000000000 -0700
    +++ 25-akpm/sound/isa/opl3sa2.c 2003-08-13 05:04:06.000000000 -0700
    @@ -752,6 +752,7 @@ static int __devinit snd_opl3sa2_probe(i
                     err = -ENOMEM;
                     goto __error;
             }
    + spin_lock_init(&chip->reg_lock);
             chip->irq = -1;
             if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0)
                     goto __error;

    _

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


  • Next message: jeff millar: "Re: SOLUTION Re: 2.6.0-test3 cannot mount root fs"

    Relevant Pages

    • Re: [debian-user] The List Standard
      ... Took this advice. ... Some responders to my email seem to think I am advocating Top loading which I am not. ... It was only after getting involved with Linux email issues that I even realized there were other and better ways of transmitting email messages. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • MPlayer Wont Work Under Sid-2.6.16-1-686
      ... Yahoo video player wont play with a greyed out screen ... coming up during the last stages of loading. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Help still needed installing debian
      ... adm pcnet 10 Mbps. ... Try loading AT1500 drivers for this network card. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Messages when system is loading
      ... I have a few Debian 5 machines as Mail servers. ... lots of warning and error messages when the system is loading. ... is there any way to make the system pause while it's loading so I ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • "alsaconf" successful. No sound!
      ... I ran "alsaconf" on my recently-updated Debian 3.1r1. ... It worked like a charm and ended with the following messages: ... Loading driver... ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)