ASoC: dsp: Update audio effects driver to support Instance ID
Add support to set and get audio effects module params with Instance ID support. Maintain support for non Instance ID set and get param structures as well. Use common pack and set param functions to set and get parameters to DSP instead of handling them at an individual module level. CRs-Fixed: 2151551 Change-Id: I0fdba2560950c931a2ec6f152499fd4bb9f59086 Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
f20d5b7ea5
commit
fa497d2051
@@ -145,8 +145,12 @@
|
||||
#define PBE_ENABLE_PARAM_LEN 1
|
||||
#define PBE_CONFIG_PARAM_LEN 28
|
||||
|
||||
/* Command Payload length and size for Non-IID commands */
|
||||
#define COMMAND_PAYLOAD_LEN 3
|
||||
#define COMMAND_PAYLOAD_SZ (COMMAND_PAYLOAD_LEN * sizeof(uint32_t))
|
||||
/* Command Payload length and size for IID commands */
|
||||
#define COMMAND_IID_PAYLOAD_LEN 4
|
||||
#define COMMAND_IID_PAYLOAD_SZ (COMMAND_IID_PAYLOAD_LEN * sizeof(uint32_t))
|
||||
#define MAX_INBAND_PARAM_SZ 4096
|
||||
#define Q27_UNITY (1 << 27)
|
||||
#define Q8_UNITY (1 << 8)
|
||||
|
Reference in New Issue
Block a user