ASoC: msm: qdsp6v2: Update LSM param hdr size
q6lsm_pack_params requires param hdr size to be filled and sent as argument. Change is to update size with param_hdr_v3 struct size. Change-Id: Id2380f3ceb887e1fc73b7f5f8e28ac93029082e4 Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
This commit is contained in:
parent
67addccde1
commit
06cd2ea4b5
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2013-2017, Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2013-2018, Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
@ -741,6 +741,7 @@ void q6lsm_sm_set_param_data(struct lsm_client *client,
|
|||
param_hdr.instance_id = INSTANCE_ID_0;
|
||||
param_hdr.param_id = p_info->param_id;
|
||||
param_hdr.param_size = client->sound_model.size;
|
||||
*offset = sizeof(struct param_hdr_v3);
|
||||
|
||||
ret = q6lsm_pack_params((u8 *) client->sound_model.data, ¶m_hdr,
|
||||
NULL, offset, LSM_SESSION_CMD_SET_PARAMS_V2);
|
||||
|
|
Loading…
Add table
Reference in a new issue