]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
ALSA: hda - Support sync after writing a verb
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 May 2009 14:07:57 +0000 (16:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 May 2009 15:23:46 +0000 (17:23 +0200)
commitaa2936f5fe060e95ae06685149645b234085a468
treec5f25beb1e9be3fc4560446992c7a021362b9c30
parent8174086167d43d0fd7b21928074145ae1d15bbab
ALSA: hda - Support sync after writing a verb

This patch adds a debug mode to make the codec communication
synchronous.  Define SND_HDA_SUPPORT_SYNC_WRITE in hda_codec.c,
and the call of snd_hda_codec_write*() will become synchronous,
i.e. wait for the reply from the codec at each time issuing a verb.

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