summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-12-21 12:05:40 +0100
committerTakashi Iwai <tiwai@suse.de>2009-12-21 12:05:40 +0100
commit1f26cb92a28541da1c9b27571e40b08333595773 (patch)
tree90e9c7f7fe9bdccc6cd356afcf3977af256c9a21 /sound/pci/hda/patch_realtek.c
parent2c3b9b50db5fe8d6039dfdfc44202fcd49eb9d00 (diff)
parentdb8cf334f66bdf1ba2b3d2f7128095fc9b7a6e2b (diff)
downloadop-kernel-dev-1f26cb92a28541da1c9b27571e40b08333595773.zip
op-kernel-dev-1f26cb92a28541da1c9b27571e40b08333595773.tar.gz
Merge branch 'fix/misc' into for-linus
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 0877bae..c746505 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)
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;
OpenPOWER on IntegriCloud