mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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 <vbucha@codeaurora.org>
This commit is contained in:
parent
711dbb3dca
commit
e003f502de
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue