diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2018-06-17 19:02:17 +0200 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2018-06-18 21:32:41 +0200 |
commit | cd31b80736852d34bc1072f3e579a6fd73a244e7 (patch) | |
tree | fc2cae085bbec287cf6be7b9d9ef052c8bf366e4 /include | |
parent | b77ed2e6d61d40117272be1b2377c5dfd101e9cd (diff) | |
download | linux-stable-cd31b80736852d34bc1072f3e579a6fd73a244e7.tar.gz linux-stable-cd31b80736852d34bc1072f3e579a6fd73a244e7.tar.bz2 linux-stable-cd31b80736852d34bc1072f3e579a6fd73a244e7.zip |
ARM: pxa: change SSP DMA channels allocation
Now the dma_slave_map is available for PXA architecture, switch the SSP
device to it.
This specifically means that :
- for platform data based machines, the DMA requestor channels are
extracted from the slave map, where pxa-ssp-dai.<N> is a 1-1 match to
ssp.<N>, and the channels are either "rx" or "tx".
- for device tree platforms, the dma node should be hooked into the
pxa2xx-ac97 or pxa-ssp-dai node.
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Daniel Mack <daniel@zonque.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pxa2xx_ssp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/pxa2xx_ssp.h b/include/linux/pxa2xx_ssp.h index 8461b18e4608..03a7ca46735b 100644 --- a/include/linux/pxa2xx_ssp.h +++ b/include/linux/pxa2xx_ssp.h @@ -212,8 +212,6 @@ struct ssp_device { int type; int use_count; int irq; - int drcmr_rx; - int drcmr_tx; struct device_node *of_node; }; |