]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - sound/hda/ext/hdac_ext_bus.c
ALSA: hdac: Fix size allocation for ext device allocation
[karo-tx-linux.git] / sound / hda / ext / hdac_ext_bus.c
index 8544e4fb1cd3be3cf231ddf998ce38b686a25034..4449d1a990893db4078a102b9da0f92835d5add3 100644 (file)
@@ -139,7 +139,7 @@ int snd_hdac_ext_bus_device_init(struct hdac_ext_bus *ebus, int addr)
        char name[15];
        int ret;
 
-       edev = kzalloc(sizeof(*hdev), GFP_KERNEL);
+       edev = kzalloc(sizeof(*edev), GFP_KERNEL);
        if (!edev)
                return -ENOMEM;
        hdev = &edev->hdac;