ALSA: Ensure PXA runtime data is initialised
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Oct 2008 12:27:49 +0000 (13:27 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 22 Oct 2008 15:22:01 +0000 (17:22 +0200)
commit13095c37b29b90ec96070cb63400a79737b4a185
tree3ff6ff0f559403c3e2da5219012c1f521e2419b1
parente78521f3212d5d3931442819cbf0910fe1b28beb
ALSA: Ensure PXA runtime data is initialised

The rest of the code relies on the runtime data being zero initialised
so we need to use kzalloc() to allocate it.

Reported-by: Oliver Ford <ipaqlinux@oliford.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/arm/pxa2xx-pcm-lib.c