]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: au1x: Don't set unused struct snd_pcm_hardware fields
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 20 Dec 2013 13:20:08 +0000 (14:20 +0100)
committerMark Brown <broonie@linaro.org>
Sat, 21 Dec 2013 14:23:20 +0000 (14:23 +0000)
commitf467a0f513ad81998f0cad1022684a273d5743f7
treecf0d407e1175c76ac8020912cfc3552042fd0a1f
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
ASoC: au1x: Don't set unused struct snd_pcm_hardware fields

The ASoC core assumes that the PCM component of the ASoC card transparently
moves data around and does not impose any restrictions on the memory layout or
the transfer speed. It ignores all fields from the snd_pcm_hardware struct for
the PCM driver that are related to this. Setting these fields in the PCM driver
might suggest otherwise though, so rather not set them.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/au1x/dbdma2.c
sound/soc/au1x/dma.c