]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: x86: Allow single period PCM operation
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Feb 2017 07:05:46 +0000 (08:05 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 10 Feb 2017 09:21:42 +0000 (10:21 +0100)
commitaa8ae3657c94cebd27f64daf8278a1aac4b90480
treef58c097b7d324f5a886f774bf394e7cfd28c3373
parenta9b9ddaa2e889aa1df2063016c4259d9c6adbd38
ALSA: x86: Allow single period PCM operation

This is an implementation of PCM streaming with only 1 period.
Since the hardware requires the refresh of BDs after each BD
processing finishes, we'd need at least two BDs.  The trick is that
both BDs point to the same content: the address of the PCM buffer
head, and the whole buffer size.  Then it loops over to the whole
buffer again after it finished once.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/x86/intel_hdmi_audio.c
sound/x86/intel_hdmi_lpe_audio.h