From: Lee Revell <rlrevell@joe-job.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Russell King <rmk+lkml@arm.linux.org.uk>,
linux-kernel@vger.kernel.org, apatard@mandrakesoft.com
Subject: ALSA bugs in list [was Re: 2.6.12-rc1-mm1]
Date: Mon, 21 Mar 2005 22:51:30 -0500 [thread overview]
Message-ID: <1111463491.3058.15.camel@mindpipe> (raw)
In-Reply-To: <20050321124159.0fbf1bef.akpm@osdl.org>
On Mon, 2005-03-21 at 12:41 -0800, Andrew Morton wrote:
> From: bugme-daemon@osdl.org
> Subject: [Bug 4282] ALSA driver in Linux 2.6.11 causes a kernel panic when loading the EMU10K1 driver
>
This one is a real mystery. No one can reproduce it.
> From: bugme-daemon@osdl.org
> Subject: [Bugme-new] [Bug 4348] New: snd_emu10k1 oops'es with Audigy 2 and
>
This one is fixed in ALSA CVS. Here is the patch.
Lee
Summary: fix oopses in emu10k1 mixer
Signed-Off-By: Arnaud Patard <apatard@mandrakesoft.com>
Index: emumixer.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emumixer.c,v
retrieving revision 1.32
diff -u -r1.32 emumixer.c
--- emumixer.c 13 Mar 2005 12:17:09 -0000 1.32
+++ emumixer.c 16 Mar 2005 17:10:10 -0000
@@ -482,9 +482,13 @@
change = 1;
}
}
- if (change && mix->epcm->voices[ch])
- update_emu10k1_fxrt(emu, mix->epcm->voices[ch]->number,
- &mix->send_routing[0][0]);
+
+ if (change && mix->epcm) {
+ if (mix->epcm->voices[ch]) {
+ update_emu10k1_fxrt(emu, mix->epcm->voices[ch]->number,
+ &mix->send_routing[0][0]);
+ }
+ }
spin_unlock_irqrestore(&emu->reg_lock, flags);
return change;
}
@@ -544,9 +548,12 @@
change = 1;
}
}
- if (change && mix->epcm->voices[ch])
- update_emu10k1_send_volume(emu, mix->epcm->voices[ch]->number,
- &mix->send_volume[0][0]);
+ if (change && mix->epcm) {
+ if (mix->epcm->voices[ch]) {
+ update_emu10k1_send_volume(emu, mix->epcm->voices[ch]->number,
+ &mix->send_volume[0][0]);
+ }
+ }
spin_unlock_irqrestore(&emu->reg_lock, flags);
return change;
}
@@ -600,8 +607,11 @@
mix->attn[0] = val;
change = 1;
}
- if (change && mix->epcm->voices[ch])
- snd_emu10k1_ptr_write(emu, VTFT_VOLUMETARGET, mix->epcm->voices[ch]->number, mix->attn[0]);
+ if (change && mix->epcm) {
+ if (mix->epcm->voices[ch]) {
+ snd_emu10k1_ptr_write(emu, VTFT_VOLUMETARGET, mix->epcm->voices[ch]->number, mix->attn[0]);
+ }
+ }
spin_unlock_irqrestore(&emu->reg_lock, flags);
return change;
}
next prev parent reply other threads:[~2005-03-22 3:57 UTC|newest]
Thread overview: 66+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-21 10:51 2.6.12-rc1-mm1 Andrew Morton
2005-03-21 17:05 ` 2.6.12-rc1-mm1 Brice Goglin
2005-03-21 17:09 ` 2.6.12-rc1-mm1 Jesse Barnes
2005-03-21 17:15 ` 2.6.12-rc1-mm1 Jesse Barnes
2005-03-21 20:25 ` 2.6.12-rc1-mm1 Adrian Bunk
2005-03-22 0:42 ` 2.6.12-rc1-mm1 Jesse Barnes
2005-03-22 6:50 ` 2.6.12-rc1-mm1 Arjan van de Ven
2005-03-22 9:18 ` 2.6.12-rc1-mm1 Adrian Bunk
2005-03-22 16:50 ` 2.6.12-rc1-mm1 Jesse Barnes
2005-03-21 20:20 ` 2.6.12-rc1-mm1 Russell King
2005-03-21 20:41 ` 2.6.12-rc1-mm1 Andrew Morton
2005-03-21 21:26 ` PCMCIA bugs in buglist [Was: Re: 2.6.12-rc1-mm1] Dominik Brodowski
2005-03-22 3:51 ` Lee Revell [this message]
2005-03-22 4:10 ` ALSA bugs in list [was " Andrew Morton
2005-03-22 4:16 ` Lee Revell
2005-03-22 4:23 ` Andrew Morton
2005-03-22 4:30 ` Lee Revell
2005-03-22 10:05 ` Takashi Iwai
2005-03-22 10:06 ` Jaroslav Kysela
2005-03-21 22:43 ` 2.6.12-rc1-mm1: Kernel BUG at pci:389 Rafael J. Wysocki
2005-03-22 0:03 ` Andrew Morton
2005-03-22 0:44 ` Pavel Machek
2005-03-22 1:06 ` Andrew Morton
2005-03-22 1:35 ` Pavel Machek
2005-03-22 1:49 ` Pavel Machek
2005-03-22 1:52 ` Andrew Morton
2005-03-22 2:07 ` Pavel Machek
2005-03-22 2:27 ` Andrew Morton
2005-03-22 7:21 ` Greg KH
2005-03-22 12:22 ` pm_message_t to struct conversion [was Re: 2.6.12-rc1-mm1: Kernel BUG at pci:389] Pavel Machek
2005-03-22 3:14 ` 2.6.12-rc1-mm1: Kernel BUG at pci:389 Li Shaohua
2005-03-22 4:04 ` Len Brown
2005-03-22 11:01 ` Pavel Machek
2005-03-22 21:49 ` 2.6.12-rc1-mm1: resume regression (was: Re: 2.6.12-rc1-mm1: Kernel BUG at pci:389) Rafael J. Wysocki
2005-03-23 22:29 ` 2.6.12-rc1-mm1: resume regression [update] " Rafael J. Wysocki
2005-03-23 22:39 ` Pavel Machek
2005-03-23 23:49 ` Rafael J. Wysocki
2005-03-24 1:03 ` Len Brown
2005-03-24 1:27 ` 2.6.12-rc1-mm1: resume regression [update] (was: " Li Shaohua
2005-03-24 13:42 ` Rafael J. Wysocki
2005-03-25 0:49 ` Li Shaohua
2005-03-25 11:19 ` Rafael J. Wysocki
2005-03-24 23:14 ` 2.6.12-rc1-mm1: resume regression [update] (was: Re: 2.6.12-rc1-mm1: " Rafael J. Wysocki
2005-03-22 11:00 ` 2.6.12-rc1-mm1: Kernel BUG at pci:389 Pavel Machek
2005-03-22 2:02 ` Dave Jones
2005-03-22 0:53 ` Pavel Machek
2005-03-22 12:22 ` [2.6 patch] fix net/ipv4/route.c with gcc 3.4 Adrian Bunk
2005-03-22 16:33 ` 2.6.12-rc1-mm1: hostap stack usage Adrian Bunk
2005-03-23 4:59 ` Jouni Malinen
2005-03-22 17:13 ` 2.6.12-rc1-mm1: REISER4_FS <-> 4KSTACKS Adrian Bunk
2005-03-22 17:50 ` Hans Reiser
2005-03-22 19:21 ` Adrian Bunk
2005-03-22 19:30 ` Jörn Engel
2005-03-22 20:15 ` Hans Reiser
2005-03-22 18:16 ` Arjan van de Ven
2005-03-22 18:56 ` Jörn Engel
2005-03-22 19:09 ` Jörn Engel
2005-03-22 19:17 ` Adrian Bunk
2005-03-24 3:10 ` [-mm patch] drivers/net/chelsio/osdep.h: small cleanups Adrian Bunk
2005-03-24 3:37 ` Christoph Lameter
2005-03-24 5:23 ` Randy.Dunlap
2005-03-24 5:32 ` Christoph Lameter
2005-03-24 5:36 ` Jeff Garzik
-- strict thread matches above, loose matches on Subject: below --
2005-03-22 19:41 ALSA bugs in list [was Re: 2.6.12-rc1-mm1] Indrek Kruusa
2005-03-23 22:30 ` Lee Revell
2005-03-23 18:43 Indrek Kruusa
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=1111463491.3058.15.camel@mindpipe \
--to=rlrevell@joe-job.com \
--cc=akpm@osdl.org \
--cc=apatard@mandrakesoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rmk+lkml@arm.linux.org.uk \
/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