]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: davinci-mcasp: Fix dra7 DMA offset when using CFG port
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 2 Jun 2016 09:55:05 +0000 (12:55 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 2 Jun 2016 09:57:48 +0000 (10:57 +0100)
commita6b0fd8df4add24c48e029246e140f67516c3448
treebb64583132ec28ec59e16392463f4c859eb0f044
parenteafb69e30fd2c5eb541ab8464cb7c24186e23039
ASoC: davinci-mcasp: Fix dra7 DMA offset when using CFG port

The TX and RX offset is different for each serializers when using the CFG
port for DMA access.
When using the CFG port only one serializer can be used per direction so
print error message and only configure the first serializer's offset.

Reported-by: Misael Lopez Cruz <misael.lopez@ti.com>
Suggested-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c
sound/soc/davinci/davinci-mcasp.h