Merge branch 'fix/hda' into topic/hda
[firefly-linux-kernel-4.4.55.git] / sound / pci / hda / patch_realtek.c
index a45199014986b9c264590c59365791de8ca30b83..6361e6b3c9c5a99d34fb8a0fb4841b03e8af3f0b 100644 (file)
@@ -13039,7 +13039,7 @@ static int patch_alc268(struct hda_codec *codec)
        int board_config;
        int i, has_beep, err;
 
-       spec = kcalloc(1, sizeof(*spec), GFP_KERNEL);
+       spec = kzalloc(sizeof(*spec), GFP_KERNEL);
        if (spec == NULL)
                return -ENOMEM;