dma: mxs-dma: enable channel in device_issue_pending call
commitd04525ed0323709711277563a2c76e446a017423
authorShawn Guo <shawn.guo@linaro.org>
Wed, 11 Apr 2012 05:29:31 +0000 (11 13:29 +0800)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 20 Apr 2012 10:05:58 +0000 (20 15:35 +0530)
tree76766ed95d698f3ec98762301e42f703e774381c
parent60f2951e3ad9b833bc12e2ea7652be2611771792
dma: mxs-dma: enable channel in device_issue_pending call

Enable channel in device_issue_pending call, so that the order between
cookie assignment and channel enabling can be ensured naturally.

It fixes the mxs gpmi-nand breakage which is caused by the incorrect
order of cookie assigning and channel enabling.

Suggested-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Huang Shijie <b32955@freescale.com>
Tested-by <samgandhi9@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/mxs-dma.c
drivers/mmc/host/mxs-mmc.c
drivers/mtd/nand/gpmi-nand/gpmi-nand.c