mmc: mxs-mmc: Fix additional cycles after transmission stop
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 5 Jan 2017 19:24:04 +0000 (19:24 +0000)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 Jun 2017 22:46:56 +0000 (00:46 +0200)
commit8bc899e505b6b346acbd6b116abb9a183af64bfc
treecb57448da6c4b6806770d2c74a345de0fd9d7968
parent6a4a5fd4c7bc6a06ca26ad7327d046d8d3c0932a
mmc: mxs-mmc: Fix additional cycles after transmission stop

commit 01167c7b9cbf099c69fe411a228e4e9c7104e123 upstream.

According to the code the intention is to append 8 SCK cycles
instead of 4 at end of a MMC_STOP_TRANSMISSION command. But this
will never happened because it's an AC command not an ADTC command.
So fix this by moving the statement into the right function.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fixes: e4243f13d10e (mmc: mxs-mmc: add mmc host driver for i.MX23/28)
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/mmc/host/mxs-mmc.c