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

Commit 22e9c034 authored by Laxminath Kasam's avatar Laxminath Kasam Committed by tdixit
Browse files

ASoC: msm: qdsp6v2: update uninitialized ret



Avoid use of ret before initialize.

Change-Id: I4b5438dc5c92b6bebbe04d55cb2d000df8e39d1f
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent 0d9df964
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1521,7 +1521,7 @@ static int afe_send_codec_reg_page_config(
static int afe_send_codec_reg_config(
	struct afe_param_cdc_reg_cfg_data *cdc_reg_cfg)
{
	int i, j, ret;
	int i, j, ret = 0;
	int pkt_size, payload_size, reg_per_pkt, num_pkts, num_regs;
	struct afe_svc_cmd_cdc_reg_cfg *config;
	struct afe_svc_cmd_set_param *param;