asoc: msm: Add support for compressed perf mode

Add support for compressed perf mode.
Compressed perf mode configures the DSP in low latency
mode. In low latency mode, DSP have reduced buffer
size for faster operations. Above layers may pass
this flag for configuring the DSP in low latency
mode.

Change-Id: Ib291d0fb9921edbaf2466d44c87aeed3367aec67
Signed-off-by: Deeraj Soman <sdeeraj@codeaurora.org>
This commit is contained in:
Deeraj Soman 2019-02-27 12:13:18 +05:30 committed by Gerrit - the friendly Code Review server
parent 845cf2a097
commit aec78f41d3

View file

@ -74,6 +74,11 @@
/* Bit-0 - 0 : Disable Timestamp mode */
#define COMPRESSED_TIMESTAMP_FLAG 0x0001
/* Perf mode flag */
/* Bit-1 - 1 : Enable perf mode */
/* Bit-1 - 0 : Disable perf mode */
#define COMPRESSED_PERF_MODE_FLAG 0x0002
/* Codecs are listed linearly to allow for extensibility */
#define SND_AUDIOCODEC_PCM ((__u32) 0x00000001)
#define SND_AUDIOCODEC_MP3 ((__u32) 0x00000002)