diff options
author | Jyri Sarha <jsarha@ti.com> | 2015-06-02 22:09:34 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-09 20:00:52 +0200 |
commit | 9fbd58cf4ab0b6fcabe1ccb8d391a1ed88f04d7e (patch) | |
tree | 99b6210d0ac5a189589180d09c78fb4fa5770ee3 /sound/soc/soc-cache.c | |
parent | ASoC: davinci-mcasp: Logic low for inactive output slots (diff) | |
download | linux-9fbd58cf4ab0b6fcabe1ccb8d391a1ed88f04d7e.tar.xz linux-9fbd58cf4ab0b6fcabe1ccb8d391a1ed88f04d7e.zip |
ASoC: davinci-mcasp: Choose PCM driver based on configured DMA controller
Find the configured DMA controller by asking for a DMA channel in the
probe phase and releasing it right after. The controller device can be
found via the dma_chan struct and the controller is recognized from
the compatible property of its device node. The patch assumes EDMA if
there is no device node.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-cache.c')
0 files changed, 0 insertions, 0 deletions