aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 18bfc3993b8d..2be0ef9023b1 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6590,7 +6590,7 @@ static int patch_alc262(struct hda_codec *codec)
6590 int board_config; 6590 int board_config;
6591 int err; 6591 int err;
6592 6592
6593 spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); 6593 spec = kzalloc(sizeof(*spec), GFP_KERNEL);
6594 if (spec == NULL) 6594 if (spec == NULL)
6595 return -ENOMEM; 6595 return -ENOMEM;
6596 6596
@@ -7710,7 +7710,7 @@ static int patch_alc861(struct hda_codec *codec)
7710 int board_config; 7710 int board_config;
7711 int err; 7711 int err;
7712 7712
7713 spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); 7713 spec = kzalloc(sizeof(*spec), GFP_KERNEL);
7714 if (spec == NULL) 7714 if (spec == NULL)
7715 return -ENOMEM; 7715 return -ENOMEM;
7716 7716