ASoC: dsp: correct param_size assignment

param_size value is not correctly assigned with roundup.
Assign the return value of roundup to param_size.

Change-Id: I92e42b4684d7be77a5fa82c8e8c90167f985f97d
Signed-off-by: Meng Wang <mengw@codeaurora.org>
This commit is contained in:
Meng Wang
2019-01-02 09:31:57 +08:00
bovenliggende bde36b8fc2
commit 3d87e08f9d

Bestand weergeven

@@ -515,7 +515,7 @@ 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);
param_size = roundup(param_size, 4);
sz = sizeof(struct adm_cmd_set_pspd_mtmx_strtr_params_v5) +
sizeof(struct default_chmixer_param_id_coeff) +