projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81a081f
)
ASoC: soc-core: use GFP_KERNEL flag for kmalloc in snd_soc_cnew
author
Axel Lin
<axel.lin@gmail.com>
Sat, 20 Aug 2011 03:03:44 +0000
(11:03 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 22 Aug 2011 22:26:46 +0000
(23:26 +0100)
GFP_ATOMIC is not needed here, use GFP_KERNEL instead.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-core.c
b/sound/soc/soc-core.c
index 83ad8ca274903cff750166606c613db1c5f79df0..b085d8e87574b2a34d113117f623f76c562a2426 100644
(file)
--- a/
sound/soc/soc-core.c
+++ b/
sound/soc/soc-core.c
@@
-1913,7
+1913,7
@@
struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template,
if (prefix) {
name_len = strlen(long_name) + strlen(prefix) + 2;
- name = kmalloc(name_len, GFP_
ATOMIC
);
+ name = kmalloc(name_len, GFP_
KERNEL
);
if (!name)
return NULL;