]> git.baikalelectronics.ru Git - kernel.git/commit
dma: mxs-dma: enable channel in device_issue_pending call
authorShawn Guo <shawn.guo@linaro.org>
Wed, 11 Apr 2012 05:29:31 +0000 (13:29 +0800)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 20 Apr 2012 10:05:58 +0000 (15:35 +0530)
commitd46f4d00f5c5c7a8964e995b33fc8a39e356adce
tree76766ed95d698f3ec98762301e42f703e774381c
parent8780817dea6b97397ab3ec3071a32ce8fc24044c
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