mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
ASoC: codecs: Initialize temp_val before use for wsa881x-analog
Initialize temp_val before use in wsa881x_ocp_ctl_work. Change-Id: Id4fcca78068896be1e7a8fa0d382ea903bd6934f Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
parent
02744ac315
commit
3b35be1eba
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2015-2016, 2018-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2015-2016, 2018-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/clk.h>
|
||||
|
|
@ -922,7 +922,7 @@ static void wsa881x_ocp_ctl_work(struct work_struct *work)
|
|||
struct wsa881x_pdata *wsa881x;
|
||||
struct delayed_work *dwork;
|
||||
struct snd_soc_component *component;
|
||||
int temp_val;
|
||||
int temp_val = 0;
|
||||
|
||||
dwork = to_delayed_work(work);
|
||||
wsa881x = container_of(dwork, struct wsa881x_pdata, ocp_ctl_work);
|
||||
|
|
|
|||
Loading…
Reference in a new issue