diff options
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index aeed4cc5aa79..20c1828e4bac 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -12857,7 +12857,7 @@ static int patch_alc268(struct hda_codec *codec) | |||
12857 | int board_config; | 12857 | int board_config; |
12858 | int i, has_beep, err; | 12858 | int i, has_beep, err; |
12859 | 12859 | ||
12860 | spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); | 12860 | spec = kzalloc(sizeof(*spec), GFP_KERNEL); |
12861 | if (spec == NULL) | 12861 | if (spec == NULL) |
12862 | return -ENOMEM; | 12862 | return -ENOMEM; |
12863 | 12863 | ||