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

Commit 0d9df964 authored by Laxminath Kasam's avatar Laxminath Kasam Committed by tdixit
Browse files

ASoC: msm: update uninitialized clk_val



Avoid use of clk_val before initialize.

Change-Id: I1a57fcc35a2d871dfb327dea16736e4e15c03fcc
Signed-off-by: default avatarLaxminath Kasam <lkasam@codeaurora.org>
parent d3e41c96
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -550,7 +550,7 @@ static bool is_mi2s_rx_port(int port_id)

static uint32_t get_mi2s_rx_clk_val(int port_id)
{
	uint32_t clk_val;
	uint32_t clk_val = 0;

	/*
	 *  Derive clock value based on sample rate, bits per sample and