diff options
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 45f286faa21b..849b5b50c921 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -2095,7 +2095,7 @@ static int patch_alc880(struct hda_codec *codec) | |||
2095 | int board_config; | 2095 | int board_config; |
2096 | int i, err; | 2096 | int i, err; |
2097 | 2097 | ||
2098 | spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); | 2098 | spec = kzalloc(sizeof(*spec), GFP_KERNEL); |
2099 | if (spec == NULL) | 2099 | if (spec == NULL) |
2100 | return -ENOMEM; | 2100 | return -ENOMEM; |
2101 | 2101 | ||
@@ -2367,7 +2367,7 @@ static int patch_alc260(struct hda_codec *codec) | |||
2367 | struct alc_spec *spec; | 2367 | struct alc_spec *spec; |
2368 | int board_config; | 2368 | int board_config; |
2369 | 2369 | ||
2370 | spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); | 2370 | spec = kzalloc(sizeof(*spec), GFP_KERNEL); |
2371 | if (spec == NULL) | 2371 | if (spec == NULL) |
2372 | return -ENOMEM; | 2372 | return -ENOMEM; |
2373 | 2373 | ||
@@ -2617,7 +2617,7 @@ static int patch_alc882(struct hda_codec *codec) | |||
2617 | { | 2617 | { |
2618 | struct alc_spec *spec; | 2618 | struct alc_spec *spec; |
2619 | 2619 | ||
2620 | spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); | 2620 | spec = kzalloc(sizeof(*spec), GFP_KERNEL); |
2621 | if (spec == NULL) | 2621 | if (spec == NULL) |
2622 | return -ENOMEM; | 2622 | return -ENOMEM; |
2623 | 2623 | ||