]> git.baikalelectronics.ru Git - kernel.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)
commitb455659401c3dfc8efd37c73ff02de8bc385e57a
treec5f25beb1e9be3fc4560446992c7a021362b9c30
parent91a58809bcb9b209234397ecee0ecf68805c9394
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