dma: imx-dma: fix imxdma_probe error path
authorAxel Lin <axel.lin@gmail.com>
Tue, 2 Nov 2010 01:12:57 +0000 (09:12 +0800)
committerDan Williams <dan.j.williams@intel.com>
Fri, 3 Dec 2010 09:39:03 +0000 (01:39 -0800)
commitcbeae41888bddb2d8c23db281de5f38f4be6a9bb
treeab4a16f0652337986a5def2929e06865e9fbbfbe
parente8a7e48bb248a1196484d3f8afa53bded2b24e71
dma: imx-dma: fix imxdma_probe error path

otherwise, i will be -1 inside the latest iteration of the while loop.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/imx-dma.c