diff options
author | Robert Jarzmik <robert.jarzmik@free.fr> | 2018-06-17 20:02:17 +0300 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2018-06-18 22:32:41 +0300 |
commit | cd31b80736852d34bc1072f3e579a6fd73a244e7 (patch) | |
tree | fc2cae085bbec287cf6be7b9d9ef052c8bf366e4 /include/linux/pxa2xx_ssp.h | |
parent | b77ed2e6d61d40117272be1b2377c5dfd101e9cd (diff) | |
download | linux-cd31b80736852d34bc1072f3e579a6fd73a244e7.tar.xz |
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/linux/pxa2xx_ssp.h')
-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; }; |