]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9156a585536172c12cac2f711678336f945978d3
tree65da3f5778dd6f2ff311c34306b38bd3849493b1
parent8ebb48d9f1cfa55c6677f0ede033298216cf6958
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