]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: fsl: Don't set unused struct snd_pcm_hardware fields
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 6 Jan 2014 13:19:09 +0000 (14:19 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 7 Jan 2014 11:40:24 +0000 (11:40 +0000)
commitb0a23b8b36e1fb754dcbdfe622e5ca5ded2f188b
tree0ca56e3e26d5747e2c460536021ac049607b5bb4
parentff1b15acb44398f1a23e804fc0e178c952ee7fde
ASoC: fsl: 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: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_dma.c
sound/soc/fsl/imx-pcm-dma.c
sound/soc/fsl/imx-pcm-fiq.c
sound/soc/fsl/mpc5200_dma.c