ARM: 7551/1: mmc: mmci: Fix incorrect handling of HW flow control for SDIO
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 12 Oct 2012 13:01:50 +0000 (14:01 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 18 Oct 2012 10:06:22 +0000 (11:06 +0100)
commit06c1a121805d7870abbf037d3ccd9a609a5219f2
tree879cd938b4de49158bd6141ef5f193298a04bc7d
parentddffeb8c4d0331609ef2581d84de4d763607bd37
ARM: 7551/1: mmc: mmci: Fix incorrect handling of HW flow control for SDIO

For data writes <= 8 bytes, HW flow control was disabled but
never re-enabled when the transfer was completed. This meant
that a following read request would give buffer overrun errors.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Johan Rudholm <johan.rudholm@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c