diff options
| author | Mark Brown <broonie@kernel.org> | 2024-12-13 17:33:00 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-12-13 17:33:00 +0000 |
| commit | 9b94f41449939537151dfd91e922b2e897054b94 (patch) | |
| tree | 233277f918774435ef5b2e9b07685d55c7e22167 /include | |
| parent | f851b987f39121bb73d110c8508cac5ea60cfdc5 (diff) | |
| parent | 3a47319d2d910291f4c09c0f1fec4e86a2e03696 (diff) | |
| download | linux-9b94f41449939537151dfd91e922b2e897054b94.tar.gz linux-9b94f41449939537151dfd91e922b2e897054b94.zip | |
ASoC: SOF: core/Intel: Handle pause supported token
Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
A new set of tokens have been added to SOF topology to indicate that the pause
operation is supported or not on the given PCM device.
Pause is an optional feature that depends on pipeline, topology and modules
used by the PCM.
Add a pause_supported flag to snd_sof_pcm_stream and use this flag in Intel
platform code to keep the pause support enabled or to disable it.
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/sound/sof/tokens.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/sound/sof/tokens.h b/include/uapi/sound/sof/tokens.h index 0a246bc218d3..c28c766270de 100644 --- a/include/uapi/sound/sof/tokens.h +++ b/include/uapi/sound/sof/tokens.h @@ -153,6 +153,8 @@ /* Stream */ #define SOF_TKN_STREAM_PLAYBACK_COMPATIBLE_D0I3 1200 #define SOF_TKN_STREAM_CAPTURE_COMPATIBLE_D0I3 1201 +#define SOF_TKN_STREAM_PLAYBACK_PAUSE_SUPPORTED 1202 +#define SOF_TKN_STREAM_CAPTURE_PAUSE_SUPPORTED 1203 /* Led control for mute switches */ #define SOF_TKN_MUTE_LED_USE 1300 |
