@@ -942,13 +942,14 @@ ep93xx_dma_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dest,
942
942
* @sg_len: number of entries in @sgl
943
943
* @dir: direction of tha DMA transfer
944
944
* @flags: flags for the descriptor
945
+ * @context: operation context (ignored)
945
946
*
946
947
* Returns a valid DMA descriptor or %NULL in case of failure.
947
948
*/
948
949
static struct dma_async_tx_descriptor *
949
950
ep93xx_dma_prep_slave_sg (struct dma_chan * chan , struct scatterlist * sgl ,
950
- unsigned int sg_len , enum dma_data_direction dir ,
951
- unsigned long flags )
951
+ unsigned int sg_len , enum dma_transfer_direction dir ,
952
+ unsigned long flags , void * context )
952
953
{
953
954
struct ep93xx_dma_chan * edmac = to_ep93xx_dma_chan (chan );
954
955
struct ep93xx_dma_desc * desc , * first ;
@@ -1015,6 +1016,7 @@ ep93xx_dma_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
1015
1016
* @buf_len: length of the buffer (in bytes)
1016
1017
* @period_len: lenght of a single period
1017
1018
* @dir: direction of the operation
1019
+ * @context: operation context (ignored)
1018
1020
*
1019
1021
* Prepares a descriptor for cyclic DMA operation. This means that once the
1020
1022
* descriptor is submitted, we will be submitting in a @period_len sized
@@ -1027,7 +1029,7 @@ ep93xx_dma_prep_slave_sg(struct dma_chan *chan, struct scatterlist *sgl,
1027
1029
static struct dma_async_tx_descriptor *
1028
1030
ep93xx_dma_prep_dma_cyclic (struct dma_chan * chan , dma_addr_t dma_addr ,
1029
1031
size_t buf_len , size_t period_len ,
1030
- enum dma_data_direction dir )
1032
+ enum dma_transfer_direction dir , void * context )
1031
1033
{
1032
1034
struct ep93xx_dma_chan * edmac = to_ep93xx_dma_chan (chan );
1033
1035
struct ep93xx_dma_desc * desc , * first ;
0 commit comments