]> Pileus Git - ~andy/linux/commit
ASoC: davinci: Don't set unused struct snd_pcm_hardware fields
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 20 Dec 2013 13:20:10 +0000 (14:20 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 24 Dec 2013 12:01:17 +0000 (12:01 +0000)
commitf52c91921553be26c7a0de13daa0d18ef46655ff
treebf783e2ea17b3693ee227a5109075d2607c2b397
parentae726e93946403b14f8cad20d5cbd22d015c9106
ASoC: davinci: 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: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/davinci/davinci-pcm.c