aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_si3054.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_si3054.c')
-rw-r--r--sound/pci/hda/patch_si3054.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_si3054.c b/sound/pci/hda/patch_si3054.c
index c41fb9acdce4..d014b7bb70df 100644
--- a/sound/pci/hda/patch_si3054.c
+++ b/sound/pci/hda/patch_si3054.c
@@ -283,7 +283,7 @@ static struct hda_codec_ops si3054_patch_ops = {
283 283
284static int patch_si3054(struct hda_codec *codec) 284static int patch_si3054(struct hda_codec *codec)
285{ 285{
286 struct si3054_spec *spec = kcalloc(1, sizeof(*spec), GFP_KERNEL); 286 struct si3054_spec *spec = kzalloc(sizeof(*spec), GFP_KERNEL);
287 if (spec == NULL) 287 if (spec == NULL)
288 return -ENOMEM; 288 return -ENOMEM;
289 codec->spec = spec; 289 codec->spec = spec;