Skip to content

A few fixes on imx-sdma

Sascha Hauer linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 6 patches 0 repliesNew

4 of 6 patches are in this archive. The cover letter announces 6.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
5/6dmaengine: imx-sdma: fix up param for the last BD in sdma_prep_slave_sg()+0 -01 reply
5/6dmaengine: imx-sdma: fix up param for the last BD in sdma_prep_slave_sg()+0 -01 reply
6/6dmaengine: imx-sdma: avoid stopping channel in the middle of a BD transfer+0 -01 reply
6/6dmaengine: imx-sdma: avoid stopping channel in the middle of a BD transfer+0 -01 reply

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSascha Hauer
SeriesA-b
5/6
5/6
6/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] A few fixes on imx-sdma
Quoted 7 lines · Shawn Guo

The patch set is to address the concerns discussed on thread below. And it's been tested on mx51 babbage board with sound driver.

"A few questions on imx-sdma"
http://article.gmane.org/gmane.linux.ports.arm.kernel/103001/

Shawn Guo (6)

Quoted 8 lines
 drivers/dma/imx-sdma.c |   31 +++++++++++++++++++------------
 1 files changed, 19 insertions(+), 12 deletions(-)

[PATCH 1/6] dmaengine: imx-sdma: remove IMX_DMA_SG_LOOP handling in sdma_prep_slave_sg() [PATCH 2/6] dmaengine: imx-sdma: set sdmac->status to DMA_ERROR in err_out of sdma_prep_slave_sg() [PATCH 3/6] dmaengine: imx-sdma: return sdmac->status in sdma_tx_status()
[PATCH 4/6] dmaengine: imxs-sdma: correct sdmac->status in sdma_handle_channel_loop() [PATCH 5/6] dmaengine: imx-sdma: fix up param for the last BD in sdma_prep_slave_sg()

Patches 1/6 - 5/6:

Dan,

For your convenience I've set up a branch containing Shawns patches and the ones just posted here:

The following changes since commit 1bae4ce27c9c90344f23c65ea6966c50ffeae2f5:

Linux 2.6.38-rc2 (2011-01-21 19:01:34 -0800)

are available in the git repository at:
git://git.pengutronix.de/git/imx/linux-2.6 dmaengine

Sascha Hauer (11):
dmaengine i.MX sdma: set maximum segment size for our device dmaengine i.MX sdma: check sg entries for valid addresses and lengths dmaengine i.MX SDMA: do not initialize chan_id field dmaengine i.MX SDMA: initialize dma capabilities outside channel loop dmaengine i.MX SDMA: reserve channel 0 by not registering it dmaengine i.MX dma: set maximum segment size for our device dmaengine i.MX dma: check sg entries for valid addresses and lengths dmaengine i.MX DMA: do not initialize chan_id field dmaengine i.MX dma: initialize dma capabilities outside channel loop Merge branch 'dmaengine-sdma' into dmaengine
Merge branch 'dmaengine-shawn' into dmaengine

Shawn Guo (5):

      dmaengine: imx-sdma: remove IMX_DMA_SG_LOOP handling in sdma_prep_slave_sg()
      dmaengine: imx-sdma: set sdmac->status to DMA_ERROR in err_out of sdma_prep_slave_sg()
      dmaengine: imx-sdma: return sdmac->status in sdma_tx_status()
      dmaengine: imx-sdma: correct sdmac->status in sdma_handle_channel_loop()
      dmaengine: imx-sdma: fix up param for the last BD in sdma_prep_slave_sg()
 drivers/dma/imx-dma.c  |   26 ++++++++++++++--
 drivers/dma/imx-sdma.c |   76 ++++++++++++++++++++++++++----------------------
 2 files changed, 63 insertions(+), 39 deletions(-)
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |