From: Takashi Iwai Date: Thu, 6 Nov 2008 16:11:10 +0000 (+0100) Subject: ALSA: hda - Make codec-probing more robust X-Git-Tag: v2.6.29-rc1~590^2~6^2~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ce4a3bc1b93e8ca50b142b00dd73bfdb5c4a172;p=pandora-kernel.git 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 --- Reading git-diff-tree failed