summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-09-16 07:09:02 +0200
committerDavid S. Miller <davem@davemloft.net>2011-09-16 07:09:02 +0200
commit52b9aca7ae8726d1fb41b97dd1d243d107fef11b (patch)
tree7acee111840bd25183513e9bde08e939ffd57be8 /sound/soc/soc-core.c
parentpch_gbe: support ML7831 IOH (diff)
parente1000: Fix driver to be used on PA RISC C8000 workstations (diff)
downloadlinux-52b9aca7ae8726d1fb41b97dd1d243d107fef11b.tar.xz
linux-52b9aca7ae8726d1fb41b97dd1d243d107fef11b.zip
Merge branch 'master' of ../netdev/
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 83ad8ca27490..b085d8e87574 100644
--- 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;