]> git.kernelconcepts.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 25 Jan 2012 21:53:18 +0000 (13:53 -0800)
commitd2ffd5c6c75a3cf01f7712aa7035834858f19185
tree412b5cfc6ca41a4c9c3e1516af8176ee63c61dec
parentc76fb4f965b03a6df0d0633019ecd074d98a72b8
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>
sound/pci/ice1712/amp.c