projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51c366e
)
ASoC: meson: aiu: fix clk bulk size allocation
author
Jerome Brunet
<jbrunet@baylibre.com>
Fri, 14 Feb 2020 13:13:47 +0000
(14:13 +0100)
committer
Mark Brown
<broonie@kernel.org>
Fri, 14 Feb 2020 20:51:14 +0000
(20:51 +0000)
Fix the size of allocated memory for the clock bulk data
Fixes: 6ae9ca9ce986 ("ASoC: meson: aiu: add i2s and spdif support")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link:
https://lore.kernel.org/r/20200214131350.337968-3-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/aiu.c
patch
|
blob
|
history
diff --git
a/sound/soc/meson/aiu.c
b/sound/soc/meson/aiu.c
index 5c4845a23a34f5cbb909a24fb49853349df5d302..de678a9d5cab6d4803e13a4636b8e9dae798e500 100644
(file)
--- a/
sound/soc/meson/aiu.c
+++ b/
sound/soc/meson/aiu.c
@@
-203,7
+203,7
@@
static int aiu_clk_bulk_get(struct device *dev,
struct clk_bulk_data *clks;
int i, ret;
- clks = devm_kcalloc(dev, num, sizeof(clks), GFP_KERNEL);
+ clks = devm_kcalloc(dev, num, sizeof(
*
clks), GFP_KERNEL);
if (!clks)
return -ENOMEM;