summaryrefslogtreecommitdiff
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-23 02:33:01 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-23 02:33:01 +0400
commit09d930ae5198fbb67b86d3d058ad82211f469a46 (patch)
treee11f0be409e9184a0764263116a72dc0100aaaa8 /sound/soc/soc-core.c
parent33c5f969b969c277e96cd9e9bf8472c4b8709c25 (diff)
parentc09f5ca7bdc9a82c5f721bc28c46d65452240cfa (diff)
downloadlinux-09d930ae5198fbb67b86d3d058ad82211f469a46.tar.xz
Merge branch 'for-3.1' into for-3.2
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index f8f985a4f2a8..fd173f6be18d 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1915,7 +1915,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;