From b45b11503a44b48e1bee649ecaf1867a4d800fa7 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Fri, 29 Jan 2016 02:27:17 +0530 Subject: ALSA: pcm - add support for hostless audio Allow some PCM devices to be hostless, i.e. there is no PCM data transferred to or from the host CPU. This can be used to minimise power on systems since the CPU can idle/sleep during the PCM device operation (e.g. a phone call where the DAI is between a MODEM and DSP) TODO: cleanup, look at adding a read/write blocker. Singed-off-by: Liam Girdwood Signed-off-by: Banajit Goswami Signed-off-by: Sudheer Papothi --- include/sound/pcm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/sound/pcm.h b/include/sound/pcm.h index e1dafdcb3c82..b293f60108ac 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h @@ -490,6 +490,7 @@ struct snd_pcm_substream { #endif /* CONFIG_SND_VERBOSE_PROCFS */ /* misc flags */ unsigned int hw_opened: 1; + unsigned int hw_no_buffer: 1; /* substream may not have a buffer */ }; #define SUBSTREAM_BUSY(substream) ((substream)->ref_count > 0) -- cgit v1.2.3