ALSA: hda - Retry codec-verbs at errors
authorTakashi Iwai <tiwai@suse.de>
Tue, 24 Mar 2009 06:36:09 +0000 (07:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Apr 2009 09:10:44 +0000 (11:10 +0200)
commitb613291fb21a2d74eb8323d97fe9aa5d281b306c
tree142afbf9e2fa31b852c3fbfe1bb4dafd4977fb98
parent92c7c8a7d6e03eb4c0a3c5888e35dbc45f24744c
ALSA: hda - Retry codec-verbs at errors

The current error-recovery scheme for the codec communication errors
doesn't work always well.  Especially falling back to the
single-command mode causes the fatal problem on many systems.

In this patch, the problematic verb is re-issued again after the error
(even with polling mode) instead of the single-cmd mode.  The
single-cmd mode will be used only when specified via the command
option explicitly, mainly just for testing.

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