]> git.karo-electronics.de Git - karo-tx-linux.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)
committerWilly Tarreau <w@1wt.eu>
Sat, 11 Feb 2012 14:38:24 +0000 (15:38 +0100)
commit2533c024c6feaa2deb21fde197de099de70334c3
tree4c0d9e767210ca1160ecf5c6d26c03fbbf78c6b4
parentd6cca2359c5b61d5a8ebecc04e4f2a4a074583cd
ALSA: ice1724 - Check for ac97 to avoid kernel oops

commit e7848163aa2a649d9065f230fadff80dc3519775 upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Willy Tarreau <w@1wt.eu>
sound/pci/ice1712/amp.c