Merge tag 'asoc-v6.9' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[linux-2.6-microblaze.git] / sound / soc / qcom / common.c
index 756706d..747041f 100644 (file)
@@ -73,7 +73,7 @@ int qcom_snd_parse_of(struct snd_soc_card *card)
        link = card->dai_link;
 
        for_each_available_child_of_node(dev->of_node, np) {
-               dlc = devm_kzalloc(dev, 2 * sizeof(*dlc), GFP_KERNEL);
+               dlc = devm_kcalloc(dev, 2, sizeof(*dlc), GFP_KERNEL);
                if (!dlc) {
                        ret = -ENOMEM;
                        goto err_put_np;