ALSA: hda - Reset CORB/RIRB at retrying the verb communication
authorTakashi Iwai <tiwai@suse.de>
Mon, 25 May 2009 16:34:52 +0000 (18:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 May 2009 16:34:52 +0000 (18:34 +0200)
commit4fcd39207f4c91185cc89e3e6a28cbb643034ff1
tree1d6dd15ca8133528dc4100ca364f305672b5b110
parentfa7979663190240b838ab8c8bad7f59e618bf77c
ALSA: hda - Reset CORB/RIRB at retrying the verb communication

When a codec communication error occurs, the CORB/RIRB counters should
be reset first before re-issuing the verb.  Simply call azx_free_cmd_io()
and azx_init_cmd_io() to achieve that.

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