ALSA: ice1724 - Check for ac97 to avoid kernel oops
authorPavel Hofman <pavel.hofman@ivitera.com>
Thu, 5 Jan 2012 22:05:18 +0000 (23:05 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 8 Jan 2012 13:26:01 +0000 (14:26 +0100)
commite7848163aa2a649d9065f230fadff80dc3519775
tree65da3f5778dd6f2ff311c34306b38bd3849493b1
parentdcc2cf7507861476c874cc7974e5d4557a32475f
ALSA: ice1724 - Check for ac97 to avoid kernel oops

Cards with identical PCI ids but no AC97 config in EEPROM do not have
the ac97 field initialized. We must check for this case to avoid kernel oops.

Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ice1712/amp.c