ARM: 7220/1: mmc: mmci: Fixup error handling for dma
authorUlf Hansson <ulf.hansson@stericsson.com>
Tue, 13 Dec 2011 15:58:43 +0000 (16:58 +0100)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Wed, 11 Jan 2012 18:11:24 +0000 (10:11 -0800)
commit5c0ffb73c56eff6b631d69fe79c6c74cda462f3c
tree9b2a60882307a495d4cf9a07d36d38d4c465c248
parent3accda7494eb7e6dc5051891f21ef48ea2be422b
ARM: 7220/1: mmc: mmci: Fixup error handling for dma

commit 3b6e3c73851a9a4b0e6ed9d378206341dd65e8a5 upstream.

When getting a cmd irq during an ongoing data transfer
with dma, the dma job were never terminated. This is now
corrected.

Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Per Forlin <per.forlin@stericsson.com>
Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

Change-Id: Id2b0cc97b7da31bb0e2bad0653bc387dbe760134
Reviewed-on: http://git-master/r/74196
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/mmc/host/mmci.c