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

Commit 886eb035 authored by Surendar Karka's avatar Surendar Karka
Browse files

ASoC: msm: qdsp6v2: align param size of PSPD matrix



Params size should be multiple of 4 bytes. Aligning
param size in multiple of 4 bytes to make 32 bit.

CRs-Fixed: 2235684
Change-Id: Ib568ebd31ef540aa8c6ad756b885f96b02458916
Signed-off-by: default avatarSurendar Karka <skarka@codeaurora.org>
parent d68a532d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -602,7 +602,8 @@ int adm_programable_channel_mixer(int port_id, int copp_idx, int session_id,
			ch_mixer->input_channels[channel_index] +
			ch_mixer->input_channels[channel_index] *
			ch_mixer->output_channel);
	roundup(param_size, 4);
	/* Params size should be multiple of 4 bytes i.e 32bit aligned*/
	param_size = roundup(param_size, 4);

	sz = sizeof(struct adm_cmd_set_pspd_mtmx_strtr_params_v5) +
			sizeof(struct default_chmixer_param_id_coeff) +