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 0877bae5dae1..c7465053d6bb 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -12924,7 +12924,7 @@ static int patch_alc268(struct hda_codec *codec) | |||
12924 | int board_config; | 12924 | int board_config; |
12925 | int i, has_beep, err; | 12925 | int i, has_beep, err; |
12926 | 12926 | ||
12927 | spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); | 12927 | spec = kzalloc(sizeof(*spec), GFP_KERNEL); |
12928 | if (spec == NULL) | 12928 | if (spec == NULL) |
12929 | return -ENOMEM; | 12929 | return -ENOMEM; |
12930 | 12930 | ||