From e003f502de50e901bac68a9a240dd35ea6f800ba Mon Sep 17 00:00:00 2001 From: Vatsal Bucha Date: Fri, 31 Aug 2018 11:59:15 +0530 Subject: [PATCH] dsp: Add macro for packed 16B format CDC DMA TX uses PACKED_16B format if speaker prot is enabled. Add macro AFE_LINEAR_PCM_DATA_PACKED_16BIT for proper value of format. Change-Id: I1070e00d26a18c77e26ff2518ef4a1256a674e20 Signed-off-by: Vatsal Bucha --- include/dsp/apr_audio-v2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dsp/apr_audio-v2.h b/include/dsp/apr_audio-v2.h index 4ce997384d..73304fb545 100644 --- a/include/dsp/apr_audio-v2.h +++ b/include/dsp/apr_audio-v2.h @@ -2225,6 +2225,7 @@ struct afe_port_data_cmd_rt_proxy_port_read_v2 { #define AFE_LINEAR_PCM_DATA_PACKED_60958 0x2 #define AFE_NON_LINEAR_DATA_PACKED_60958 0x3 #define AFE_GENERIC_COMPRESSED 0x8 +#define AFE_LINEAR_PCM_DATA_PACKED_16BIT 0X6 /* This param id is used to configure I2S interface */ #define AFE_PARAM_ID_I2S_CONFIG 0x0001020D