aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/cmipci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/cmipci.c')
-rw-r--r--sound/pci/cmipci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c
index 26a657870664..452cc79b44af 100644
--- a/sound/pci/cmipci.c
+++ b/sound/pci/cmipci.c
@@ -1139,7 +1139,7 @@ static int save_mixer_state(struct cmipci *cm)
1139 struct snd_ctl_elem_value *val; 1139 struct snd_ctl_elem_value *val;
1140 unsigned int i; 1140 unsigned int i;
1141 1141
1142 val = kmalloc(sizeof(*val), GFP_ATOMIC); 1142 val = kmalloc(sizeof(*val), GFP_KERNEL);
1143 if (!val) 1143 if (!val)
1144 return -ENOMEM; 1144 return -ENOMEM;
1145 for (i = 0; i < CM_SAVED_MIXERS; i++) { 1145 for (i = 0; i < CM_SAVED_MIXERS; i++) {