ASoC: fsl: imx-audmix: Use devm_kcalloc() instead of devm_kzalloc()
authorXu Wang <vulab@iscas.ac.cn>
Mon, 21 Sep 2020 01:59:18 +0000 (01:59 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 25 Sep 2020 19:50:39 +0000 (20:50 +0100)
commitf95cc5c18c15a425c3dceec48df6b4e27a202dda
tree7c4da9ce163dbab97e27f74df9900fea3ccf166a
parentff1d9ff43878de14b6ee4a089eb9f4a7e8f28a7f
ASoC: fsl: imx-audmix: Use devm_kcalloc() instead of devm_kzalloc()

A multiplication for the size determination of a memory allocation
indicated that an array data structure should be processed.
Thus use the corresponding function "devm_kcalloc".

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20200921015918.24157-1-vulab@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-audmix.c