ALSA: azt3328 - Fix NULL ptr dereference on cards without OPL3
authorAlban Bedel <albeu@free.fr>
Sat, 25 Feb 2012 15:15:57 +0000 (16:15 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 25 Feb 2012 18:03:18 +0000 (19:03 +0100)
commit87c9e7d7027643bf248b396c15c804456e967fcd
tree075b11728490d485cd761ff529b1ecf830c1b205
parent068b939431486f524438330b0848a8222e33d421
ALSA: azt3328 - Fix NULL ptr dereference on cards without OPL3

opl3->private_data was set even if opl3 could not be created.

Signed-off-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/azt3328.c