diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2017-04-14 07:30:06 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-04-14 07:30:05 -0700 |
| commit | 6e1631fbaaf6c95d906d6cc4542d2c82da88a591 (patch) | |
| tree | b4ba930147bc20c148bffe648674273db220abbf | |
| parent | 21f62e1d1e73bd33b50b4e4ec444ed978482ccba (diff) | |
| parent | d1e077de033132bc38539c0d383a66f74b3f21d1 (diff) | |
Merge "ASoC: wcd-spi: Initialize variables before use"
| -rw-r--r-- | sound/soc/codecs/wcd-spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wcd-spi.c b/sound/soc/codecs/wcd-spi.c index 3d2fe2c6bed9..fde1d3e815d3 100644 --- a/sound/soc/codecs/wcd-spi.c +++ b/sound/soc/codecs/wcd-spi.c @@ -553,7 +553,7 @@ static int wcd_spi_clk_enable(struct spi_device *spi) { struct wcd_spi_priv *wcd_spi = spi_get_drvdata(spi); int ret; - u32 rd_status; + u32 rd_status = 0; ret = wcd_spi_cmd_nop(spi); if (IS_ERR_VALUE(ret)) { |
