]> git.karo-electronics.de Git - linux-beck.git/commit
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)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 12 Jan 2017 11:31:00 +0000 (12:31 +0100)
commit01167c7b9cbf099c69fe411a228e4e9c7104e123
treedcf904ebd060c3271bdf503f1e6a06321e083945
parente1d070c3793a2766122865a7c2142853b48808c5
mmc: mxs-mmc: Fix additional cycles after transmission stop

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)
Cc: <stable@vger.kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mxs-mmc.c