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

Simple merge