diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-24 12:49:37 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-24 12:49:37 -0400 |
| commit | d6a4c0e5d3d433ef296f8f417e835329a834a256 (patch) | |
| tree | a65de394ea1afeeccee9f84dc7e6cd21e2660639 /drivers/dma/k3dma.c | |
| parent | 474095e46cd14421821da3201a9fd6a4c070996b (diff) | |
| parent | cdde0e61cf2d41123604c6c9d8f09ef5c23464ee (diff) | |
Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma
Pull slave-dmaengine updates from Vinod Koul:
- new drivers for:
- Ingenic JZ4780 controller
- APM X-Gene controller
- Freescale RaidEngine device
- Renesas USB Controller
- remove device_alloc_chan_resources dummy handlers
- sh driver cleanups for peri peri and related emmc and asoc patches
as well
- fixes and enhancements spread over the drivers
* 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma: (59 commits)
dmaengine: dw: don't prompt for DW_DMAC_CORE
dmaengine: shdmac: avoid unused variable warnings
dmaengine: fix platform_no_drv_owner.cocci warnings
dmaengine: pch_dma: fix memory leak on failure path in pch_dma_probe()
dmaengine: at_xdmac: unlock spin lock before return
dmaengine: xgene: devm_ioremap() returns NULL on error
dmaengine: xgene: buffer overflow in xgene_dma_init_channels()
dmaengine: usb-dmac: Fix dereferencing freed memory 'desc'
dmaengine: sa11x0: report slave capabilities to upper layers
dmaengine: vdma: Fix compilation warnings
dmaengine: fsl_raid: statify fsl_re_chan_probe
dmaengine: Driver support for FSL RaidEngine device.
dmaengine: xgene_dma_init_ring_mngr() can be static
Documentation: dma: Add documentation for the APM X-Gene SoC DMA device DTS binding
arm64: dts: Add APM X-Gene SoC DMA device and DMA clock DTS nodes
dmaengine: Add support for APM X-Gene SoC DMA engine driver
dmaengine: usb-dmac: Add Renesas USB DMA Controller (USB-DMAC) driver
dmaengine: renesas,usb-dmac: Add device tree bindings documentation
dmaengine: edma: fixed wrongly initialized data parameter to the edma callback
dmaengine: ste_dma40: fix implicit conversion
...
Diffstat (limited to 'drivers/dma/k3dma.c')
| -rw-r--r-- | drivers/dma/k3dma.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/dma/k3dma.c b/drivers/dma/k3dma.c index 6f7f43529ccb..647e362f01fd 100644 --- a/drivers/dma/k3dma.c +++ b/drivers/dma/k3dma.c | |||
| @@ -313,11 +313,6 @@ static void k3_dma_tasklet(unsigned long arg) | |||
| 313 | } | 313 | } |
| 314 | } | 314 | } |
| 315 | 315 | ||
| 316 | static int k3_dma_alloc_chan_resources(struct dma_chan *chan) | ||
| 317 | { | ||
| 318 | return 0; | ||
| 319 | } | ||
| 320 | |||
| 321 | static void k3_dma_free_chan_resources(struct dma_chan *chan) | 316 | static void k3_dma_free_chan_resources(struct dma_chan *chan) |
| 322 | { | 317 | { |
| 323 | struct k3_dma_chan *c = to_k3_chan(chan); | 318 | struct k3_dma_chan *c = to_k3_chan(chan); |
| @@ -654,7 +649,7 @@ static void k3_dma_free_desc(struct virt_dma_desc *vd) | |||
| 654 | kfree(ds); | 649 | kfree(ds); |
| 655 | } | 650 | } |
| 656 | 651 | ||
| 657 | static struct of_device_id k3_pdma_dt_ids[] = { | 652 | static const struct of_device_id k3_pdma_dt_ids[] = { |
| 658 | { .compatible = "hisilicon,k3-dma-1.0", }, | 653 | { .compatible = "hisilicon,k3-dma-1.0", }, |
| 659 | {} | 654 | {} |
| 660 | }; | 655 | }; |
| @@ -728,7 +723,6 @@ static int k3_dma_probe(struct platform_device *op) | |||
| 728 | dma_cap_set(DMA_SLAVE, d->slave.cap_mask); | 723 | dma_cap_set(DMA_SLAVE, d->slave.cap_mask); |
| 729 | dma_cap_set(DMA_MEMCPY, d->slave.cap_mask); | 724 | dma_cap_set(DMA_MEMCPY, d->slave.cap_mask); |
| 730 | d->slave.dev = &op->dev; | 725 | d->slave.dev = &op->dev; |
| 731 | d->slave.device_alloc_chan_resources = k3_dma_alloc_chan_resources; | ||
| 732 | d->slave.device_free_chan_resources = k3_dma_free_chan_resources; | 726 | d->slave.device_free_chan_resources = k3_dma_free_chan_resources; |
| 733 | d->slave.device_tx_status = k3_dma_tx_status; | 727 | d->slave.device_tx_status = k3_dma_tx_status; |
| 734 | d->slave.device_prep_dma_memcpy = k3_dma_prep_memcpy; | 728 | d->slave.device_prep_dma_memcpy = k3_dma_prep_memcpy; |
