]> git.baikalelectronics.ru Git - kernel.git/commit
ARM i.MX dma: Fix burstsize settings
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 6 Jul 2011 09:18:33 +0000 (11:18 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 7 Jul 2011 07:55:50 +0000 (09:55 +0200)
commit410221cf97400995cf1b4dac2d370d9c1562ed2a
treee1abfedf3480f98df93fd22586344a9668a9afe5
parentcbfb1753e4d0d712f67a2e3151c256e9e69e94f9
ARM i.MX dma: Fix burstsize settings

dmaengine expects the maxburst parameter in words, not bytes.
The imxdma driver and its users do this wrong. Fix this.

As a side note the imx-pcm-dma-mx2 driver was 'fixed' to work
with imx-dma. This broke the driver with imx-sdma support which
correctly takes the maxburst parameter in words. This patch
puts the sdma based sound back to work.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
drivers/dma/imx-dma.c
drivers/mmc/host/mxcmmc.c
sound/soc/imx/imx-pcm-dma-mx2.c