mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "ASoC: update token mask for port id in adm callback"
This commit is contained in:
commit
40430de537
1 changed files with 1 additions and 1 deletions
|
|
@ -1597,7 +1597,7 @@ static int32_t adm_callback(struct apr_client_data *data, void *priv)
|
|||
adm_callback_debug_print(data);
|
||||
if (data->payload_size >= sizeof(uint32_t)) {
|
||||
copp_idx = (data->token) & 0XFF;
|
||||
port_idx = ((data->token) >> 16) & 0xFF;
|
||||
port_idx = ((data->token) >> 16) & 0xFFFF;
|
||||
client_id = ((data->token) >> 8) & 0xFF;
|
||||
if (port_idx < 0 || port_idx >= AFE_MAX_PORTS) {
|
||||
pr_err("%s: Invalid port idx %d token %d\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue