dmaengine: jz4740: remove device_alloc_chan_resources handler
Now that device_alloc_chan_resources handler in not mandatory, remove dummy implementations Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
parent
16cab61800
commit
3d32b2506d
|
@ -496,11 +496,6 @@ static enum dma_status jz4740_dma_tx_status(struct dma_chan *c,
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int jz4740_dma_alloc_chan_resources(struct dma_chan *c)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void jz4740_dma_free_chan_resources(struct dma_chan *c)
|
static void jz4740_dma_free_chan_resources(struct dma_chan *c)
|
||||||
{
|
{
|
||||||
vchan_free_chan_resources(to_virt_chan(c));
|
vchan_free_chan_resources(to_virt_chan(c));
|
||||||
|
@ -540,7 +535,6 @@ static int jz4740_dma_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
dma_cap_set(DMA_SLAVE, dd->cap_mask);
|
dma_cap_set(DMA_SLAVE, dd->cap_mask);
|
||||||
dma_cap_set(DMA_CYCLIC, dd->cap_mask);
|
dma_cap_set(DMA_CYCLIC, dd->cap_mask);
|
||||||
dd->device_alloc_chan_resources = jz4740_dma_alloc_chan_resources;
|
|
||||||
dd->device_free_chan_resources = jz4740_dma_free_chan_resources;
|
dd->device_free_chan_resources = jz4740_dma_free_chan_resources;
|
||||||
dd->device_tx_status = jz4740_dma_tx_status;
|
dd->device_tx_status = jz4740_dma_tx_status;
|
||||||
dd->device_issue_pending = jz4740_dma_issue_pending;
|
dd->device_issue_pending = jz4740_dma_issue_pending;
|
||||||
|
|
Loading…
Reference in New Issue