ASoC: atmel: Don't set unused struct snd_pcm_hardware fields
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 20 Dec 2013 13:20:07 +0000 (14:20 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 6 Jan 2014 16:45:24 +0000 (16:45 +0000)
commit6ed54f08bab0a93d53fddcd37b69d6b15fbef500
tree6e97c47dce97f0df802cc0af3354e95d628e6db9
parent192043cf608909eb5728a5fd68f5234b90d9415b
ASoC: atmel: 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>
Acked-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/atmel/atmel-pcm-dma.c
sound/soc/atmel/atmel-pcm-pdc.c
This page took 0.032219 seconds and 5 git commands to generate.