From: Stefan Wahren Date: Thu, 5 Jan 2017 19:24:04 +0000 (+0000) Subject: mmc: mxs-mmc: Fix additional cycles after transmission stop X-Git-Tag: v3.2.87~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd5ddd182cd1c02b115536df7b0a2a47ca0ffcd4;p=pandora-kernel.git 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 Fixes: e4243f13d10e (mmc: mxs-mmc: add mmc host driver for i.MX23/28) Signed-off-by: Ulf Hansson Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed