ASoC: msm: qdsp6v2: set token for stereo_to_custom_stereo command
Set token value with port index and copp id so that correct wait queue handle can be deduced in the callback of adm_set_stereo_to_custom_stereo command. Change-Id: Ica4c1442c1143f46de2baa6eaf1890ad0cb4b742 Signed-off-by: Shiv Maliyappanahalli <smaliyap@codeaurora.org>
This commit is contained in:
parent
22ba2185da
commit
af35f6d738
1 changed files with 1 additions and 1 deletions
|
@ -759,7 +759,7 @@ int adm_set_stereo_to_custom_stereo(int port_id, int copp_idx,
|
|||
adm_params->hdr.dest_svc = APR_SVC_ADM;
|
||||
adm_params->hdr.dest_domain = APR_DOMAIN_ADSP;
|
||||
adm_params->hdr.dest_port = 0; /* Ignored */;
|
||||
adm_params->hdr.token = 0;
|
||||
adm_params->hdr.token = port_idx << 16 | copp_idx;
|
||||
adm_params->hdr.opcode = ADM_CMD_SET_PSPD_MTMX_STRTR_PARAMS_V5;
|
||||
adm_params->payload_addr_lsw = 0;
|
||||
adm_params->payload_addr_msw = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue