]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine i.MX SDMA: set firmware scripts addresses to negative value initially
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 25 Aug 2011 09:03:36 +0000 (11:03 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 29 Aug 2011 14:38:37 +0000 (20:08 +0530)
commit5386d2000621168a1459086272195ed58c98d779
tree4e6c67bfa2a9dbb81e3a70760898c02f9d6e8cbe
parente069167881d8c6846bd84b26baa3d2d1075ab8b4
dmaengine i.MX SDMA: set firmware scripts addresses to negative value initially

If we do not have a firmare script for a given transfer,
the setup of this channel must fail. For this the script
addresses have to be < 0 initially, not 0.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c