]> git.baikalelectronics.ru Git - kernel.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)
commit3856721dab97d4248dcec31784edb9194beee4d9
tree0b58cbefed8b0f398c665906df26e6bc4740d4f4
parentc9248e237ef5b69432351a4d974804ac29a39978
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