aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/cs4281.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/cs4281.c')
-rw-r--r--sound/pci/cs4281.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c
index e3e03028c721..421430bad989 100644
--- a/sound/pci/cs4281.c
+++ b/sound/pci/cs4281.c
@@ -1383,7 +1383,7 @@ static int __devinit snd_cs4281_create(snd_card_t * card,
1383 *rchip = NULL; 1383 *rchip = NULL;
1384 if ((err = pci_enable_device(pci)) < 0) 1384 if ((err = pci_enable_device(pci)) < 0)
1385 return err; 1385 return err;
1386 chip = kcalloc(1, sizeof(*chip), GFP_KERNEL); 1386 chip = kzalloc(sizeof(*chip), GFP_KERNEL);
1387 if (chip == NULL) { 1387 if (chip == NULL) {
1388 pci_disable_device(pci); 1388 pci_disable_device(pci);
1389 return -ENOMEM; 1389 return -ENOMEM;