[PATCH 00/15] dmaengine: Cleanup the pl330 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The pl330 dmaengine driver used to be split into two mostly separate drivers. In
commit b7d861d939 ("DMA: PL330: Merge PL330 driver into drivers/dma/") those two
parts were merged into one driver. The abstraction layers that were previously
used to communicate between the two independent parts, although now mostly
unused and unnecessary, were kept. This makes the driver more complex than it
has to be. This series tries to clean the driver up a bit by removing the unused
parts and also doing a bit of simple restructuring at the end. This is done to
make it easier to add new features (like proper residue reporting) to the
driver.

- Lars

Lars-Peter Clausen (15):
  dmaengine: pl330: Use dma_transfer_direction instead of custom
    pl330_reqtype
  dmaengine: pl330: Remove duplicated cachecontrol enum
  dmaengine: pl330: Remove unused pl330_chanstatus struct
  dmaengine: pl330: Remove unused dmac_reset callback
  dmaengine: pl330: Remove unused client_data field form pl330_info
  dmaengine: pl330: Remove unused next field form pl330_xfer struct
  dmaengine: pl330: Remove unused mc_len field from _pl330_req struct
  dmaengine: pl330: Remove useless xfer_cb indirection
  dmaengine: pl330: Change type pl330_chid from void * to struct
    pl330_thread *
  dmaengine: pl330: Remove uneccessary ccr validation
  dmaengine: pl330: Simplify is_manager()
  dmaengine: pl330: Merge dma_pl330_dmac and pl330_dmac structs
  dmaengine: pl330: Embed pl330_req directly into dma_pl330_req
  dmaengine: pl330: Simplify marking a request as unused
  dmaengine: pl330: Remove pl330_chan_ctrl()

 drivers/dma/pl330.c | 957 ++++++++++++++++++----------------------------------
 1 file changed, 325 insertions(+), 632 deletions(-)

-- 
1.8.0

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux