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)
commit36e2f21ab481b3d6bd31b99e1de669fbbac4bd0e
tree4e6c67bfa2a9dbb81e3a70760898c02f9d6e8cbe
parent73eab978ad6934499b83ecc920d470fe99c5e54d
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