]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ALSA: hda - Make codec-probing more robust
authorTakashi Iwai <tiwai@suse.de>
Thu, 6 Nov 2008 16:11:10 +0000 (17:11 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Nov 2008 16:29:48 +0000 (17:29 +0100)
commit6ce4a3bc1b93e8ca50b142b00dd73bfdb5c4a172
treed6adcd686919c9107d638966aee06bb63ee8d5fd
parent33fa35ed0d7e8996cc68cc2ffc21f12b38fa03c1
ALSA: hda - Make codec-probing more robust

When an error occurs during the codec probing, typically accessing to an
non-existing codec slot, the controller chip gets often screwed up and
can no longer communicate with the codecs.

This patch adds a preparation phase just to probe codec addresses before
actually creating codec instances.  If any error occurs during this
probing phase, the driver resets the controller to recover.

This will (hopefully) fix the famous "single_cmd" errors.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c