]> 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)
commitb608ebacd4374f49f89f95c0abf5a0e46bf49e81
tree65da3f5778dd6f2ff311c34306b38bd3849493b1
parentce18ca561c9afb4c53aa6b8ba01f0f4dd02c0e1d
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