diff options
Diffstat (limited to 'sound/pci/oxygen/oxygen_lib.c')
-rw-r--r-- | sound/pci/oxygen/oxygen_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c index 6e1cdd2fd768..312251d39696 100644 --- a/sound/pci/oxygen/oxygen_lib.c +++ b/sound/pci/oxygen/oxygen_lib.c | |||
@@ -566,7 +566,7 @@ int oxygen_pci_probe(struct pci_dev *pci, int index, char *id, | |||
566 | goto err_pci_regions; | 566 | goto err_pci_regions; |
567 | 567 | ||
568 | if (chip->model.model_data_size) { | 568 | if (chip->model.model_data_size) { |
569 | chip->model_data = kmalloc(chip->model.model_data_size, | 569 | chip->model_data = kzalloc(chip->model.model_data_size, |
570 | GFP_KERNEL); | 570 | GFP_KERNEL); |
571 | if (!chip->model_data) { | 571 | if (!chip->model_data) { |
572 | err = -ENOMEM; | 572 | err = -ENOMEM; |