ASoC: davinci-mcasp: Fix DIT only McASP instance support
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 2 Feb 2015 12:38:33 +0000 (14:38 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 2 Feb 2015 18:32:43 +0000 (18:32 +0000)
commitcaa1d794cca96c16e4a2f81697f3d15a588c4b02
treee4c50790937950b37b3a098361dd5905a1a60f19
parent8f511ffb6b82f6914779a47039cccf91e953aa1f
ASoC: davinci-mcasp: Fix DIT only McASP instance support

One of the McASP instances in DM646x line of DMSoC only supports DIT mode.
This means that the given IP does not have support for rx and all the rx
related resources are missing, like irq and DMA request.
The driver should not fail if any or all  of the RX resource is missing
when the op_mode is set to DIT mode.
Since RX is not possible in DIT mode, we can just ignore the rx resources
when the McASP is used in DIT mode.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c
This page took 0.026744 seconds and 5 git commands to generate.