Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c1b313fd authored by Banajit Goswami's avatar Banajit Goswami
Browse files

ASoC: msm: qdsp6v2: fix memset function params order



Fix order of parameters sent to memset function.

Change-Id: Ife7a752e452de76e54f45be10a4e4f180d732dea
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent c72397bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1386,7 +1386,7 @@ int q6lsm_set_one_param(struct lsm_client *client,
	struct lsm_module_param_ids ids;
	u8 *packet;

	memset(&ids, sizeof(ids), 0);
	memset(&ids, 0, sizeof(ids));
	switch (param_type) {
	case LSM_ENDPOINT_DETECT_THRESHOLD: {
		ids.module_id = p_info->module_id;