]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: generic-dmaengine-pcm: Clear slave_config memory
authorLee Jones <lee.jones@linaro.org>
Wed, 6 Nov 2013 10:16:20 +0000 (10:16 +0000)
committerMark Brown <broonie@linaro.org>
Thu, 7 Nov 2013 11:35:30 +0000 (11:35 +0000)
commit1ea7153111a846a8f75bc4789b875775b713d9f7
treeedbcbcb3ee64c955dc417352db4fea1342234cbc
parentaa10b5d35d0e070efcd7e8c4240a4ba4b8400991
ASoC: generic-dmaengine-pcm: Clear slave_config memory

We currently assume that the DMA Slave Config will be fully populated
by the platform, however some DMA Engines make decisions based on zero
(default) flags such as DMA_SLAVE_BUSWIDTH_UNDEFINED and as this is a
static declaration we need to memset it to clear the data area.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-generic-dmaengine-pcm.c