Merge tag 'pxa-for-4.19-dma_slave_map' of

https://github.com/rjarzmik/linux into asoc-4.19 for ac'97 deps
This commit is contained in:
Mark Brown
2018-06-25 14:05:18 +01:00
15 changed files with 160 additions and 272 deletions

View File

@@ -9,6 +9,15 @@ enum pxad_chan_prio {
PXAD_PRIO_LOWEST,
};
/**
* struct pxad_param - dma channel request parameters
* @drcmr: requestor line number
* @prio: minimal mandatory priority of the channel
*
* If a requested channel is granted, its priority will be at least @prio,
* ie. if PXAD_PRIO_LOW is required, the requested channel will be either
* PXAD_PRIO_LOW, PXAD_PRIO_NORMAL or PXAD_PRIO_HIGHEST.
*/
struct pxad_param {
unsigned int drcmr;
enum pxad_chan_prio prio;

View File

@@ -12,9 +12,13 @@
#ifndef MMP_DMA_H
#define MMP_DMA_H
struct dma_slave_map;
struct mmp_dma_platdata {
int dma_channels;
int nb_requestors;
int slave_map_cnt;
const struct dma_slave_map *slave_map;
};
#endif /* MMP_DMA_H */

View File

@@ -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;
};