X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=sound%2Farm%2Fpxa2xx-pcm-lib.c;h=75a0d746fb60ff50a8eccdefab76e67c380d3e9d;hb=5579a782ad7ffa162b1060993e4a298dd50e7a33;hp=1c93eb77cb99fe75856055f04d74d1e3c8007e81;hpb=4c7145a1ec1bb789d5f07e47510e8bda546a7c4a;p=karo-tx-linux.git diff --git a/sound/arm/pxa2xx-pcm-lib.c b/sound/arm/pxa2xx-pcm-lib.c index 1c93eb77cb99..75a0d746fb60 100644 --- a/sound/arm/pxa2xx-pcm-lib.c +++ b/sound/arm/pxa2xx-pcm-lib.c @@ -194,7 +194,7 @@ int __pxa2xx_pcm_open(struct snd_pcm_substream *substream) goto out; ret = -ENOMEM; - rtd = kmalloc(sizeof(*rtd), GFP_KERNEL); + rtd = kzalloc(sizeof(*rtd), GFP_KERNEL); if (!rtd) goto out; rtd->dma_desc_array =