]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: opl3sa2 - Fix NULL dereference when suspending snd_opl3sa2
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Mon, 16 Mar 2009 20:32:25 +0000 (21:32 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Mar 2009 08:27:47 +0000 (09:27 +0100)
commitdde332b660cf0bc2baaba678b52768a0fb6e6da2
tree0b58cbefed8b0f398c665906df26e6bc4740d4f4
parent041b62374c7fedc11a8a1eeda2868612d3d1436c
ALSA: opl3sa2 - Fix NULL dereference when suspending snd_opl3sa2

Fix the OOPS during a opl3sa2 card suspend
and resume if the driver is loaded but the card
is not found.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/opl3sa2.c