diff options
| author | Vinod Koul <[email protected]> | 2015-02-12 09:59:53 +0530 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-02-24 00:43:59 +0900 |
| commit | 48c7699fb2c799d084ce490bceea14fe04ad12a1 (patch) | |
| tree | 7f4a88691a11bf24990544cd01f918fea9481221 /include | |
| parent | 369a9f5f397fe3258ab937ec7a9c2229d0b1a015 (diff) | |
ASoC: core: allow pcms to be registered as nonatomic
ALSA core with commit 257f8cce5d40 - "ALSA: pcm: Allow nonatomic trigger
operations" allows trigger ops to implemented as nonatomic. For ASoC, we can
specify this in dailinks and is updated while snd_pcm is created
Signed-off-by: Subhransu S. Prusty <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Cc: Takashi Iwai <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/soc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 0d1ade195628..76bc944dcb5c 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -954,6 +954,9 @@ struct snd_soc_dai_link { unsigned int symmetric_channels:1; unsigned int symmetric_samplebits:1; + /* Mark this pcm with non atomic ops */ + bool nonatomic; + /* Do not create a PCM for this DAI link (Backend link) */ unsigned int no_pcm:1; |