projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d10e2ad
)
ASoC: madera: Fix uninitialised variable usage
author
Stuart Henderson
<stuarth@opensource.cirrus.com>
Fri, 1 Sep 2017 09:31:07 +0000
(10:31 +0100)
committer
강신형
<s47.kang@samsung.com>
Tue, 19 Jun 2018 07:44:24 +0000
(16:44 +0900)
Change-Id: Ic75294a65b998d712b3a9e7221518756833fb78d
Signed-off-by: Stuart Henderson <stuarth@opensource.cirrus.com>
sound/soc/codecs/madera.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/madera.c
b/sound/soc/codecs/madera.c
index 5c25474932df09f354eea90be01a18002e0238f5..ffd5cb55a29e5e3e919cff494818b7f9f8754671 100644
(file)
--- a/
sound/soc/codecs/madera.c
+++ b/
sound/soc/codecs/madera.c
@@
-336,7
+336,7
@@
static int madera_get_variable_u32_array(struct madera_priv *priv,
} else if (n < 0) {
dev_warn(madera->dev, "%s malformed (%d)\n",
propname, n);
- return
ret
;
+ return
n
;
} else if ((n % multiple) != 0) {
dev_warn(madera->dev, "%s not a multiple of %d entries\n",
propname, multiple);