]> git.baikalelectronics.ru Git - kernel.git/commit
[ALSA] hda-intel - Improve HD-audio codec probing robustness
authorDanny Tholen <obiwan@mailmij.org>
Tue, 11 Sep 2007 19:41:56 +0000 (21:41 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 14:50:20 +0000 (16:50 +0200)
commit581e5c311bcd139facac385b35d413aa09cb4a40
treebb8d5c873e8c993f8c97aad06e73c45e217b5d6b
parentb39e3be1be1419986872304af3e4a69e231c4da6
[ALSA] hda-intel - Improve HD-audio codec probing robustness

When modem is disabled in the BIOS, detection of the number of codecs
always fails after booting if STATESTS is not cleared first.
This patch fixes this problem and also adds an error check in a place
where a read error would lead to a very large number of pointless loops.

Signed-off-by: Danny Tholen <obiwan@mailmij.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_intel.c