diff options
author | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-10-15 14:22:08 +0100 |
---|---|---|
committer | Sebastien Jan <s-jan@ti.com> | 2010-11-22 11:05:23 +0100 |
commit | 891f9b04c655f3138507bd5dd01ba06661136180 (patch) | |
tree | 6557ced6f475ef9fe9809e113d7a763c8cde785a /include | |
parent | 73f7d717a37d09c98da9becd28301730157e665e (diff) |
ALSA: pcm - add initial support for host less PCMs
Host-less PCMs have no driver buffer and hence to do not support
read(), write() or mmap() calls since no data is transfered to
or from the host CPU.
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/pcm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h index dd76cdede64d..6be5e75f4dc4 100644 --- a/include/sound/pcm.h +++ b/include/sound/pcm.h @@ -406,6 +406,7 @@ struct snd_pcm_substream { #endif /* misc flags */ unsigned int hw_opened: 1; + unsigned int hw_no_host_io: 1; }; #define SUBSTREAM_BUSY(substream) ((substream)->ref_count > 0) |