File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1657,6 +1657,17 @@ static void xilinx_dma_issue_pending(struct dma_chan *dchan)
1657
1657
spin_unlock_irqrestore (& chan -> lock , flags );
1658
1658
}
1659
1659
1660
+ /**
1661
+ * xilinx_dma_device_config - Configure the DMA channel
1662
+ * @dchan: DMA channel
1663
+ * @config: channel configuration
1664
+ */
1665
+ static int xilinx_dma_device_config (struct dma_chan * dchan ,
1666
+ struct dma_slave_config * config )
1667
+ {
1668
+ return 0 ;
1669
+ }
1670
+
1660
1671
/**
1661
1672
* xilinx_dma_complete_descriptor - Mark the active descriptor as complete
1662
1673
* @chan : xilinx DMA channel
@@ -3095,6 +3106,7 @@ static int xilinx_dma_probe(struct platform_device *pdev)
3095
3106
xdev -> common .device_synchronize = xilinx_dma_synchronize ;
3096
3107
xdev -> common .device_tx_status = xilinx_dma_tx_status ;
3097
3108
xdev -> common .device_issue_pending = xilinx_dma_issue_pending ;
3109
+ xdev -> common .device_config = xilinx_dma_device_config ;
3098
3110
if (xdev -> dma_config -> dmatype == XDMA_TYPE_AXIDMA ) {
3099
3111
dma_cap_set (DMA_CYCLIC , xdev -> common .cap_mask );
3100
3112
xdev -> common .device_prep_slave_sg = xilinx_dma_prep_slave_sg ;
You can’t perform that action at this time.
0 commit comments