mmc: mediatek: fix CMD_TA to 2 for MT8173 HS200/HS400 mode
authorChaotian Jing <chaotian.jing@mediatek.com>
Wed, 4 Dec 2019 07:19:58 +0000 (15:19 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Dec 2019 11:25:26 +0000 (12:25 +0100)
commit8f34e5bd7024d1ffebddd82d7318b1be17be9e9a
tree0486d3c4a577484befab0ca9e1d37f932334df20
parentfa56ac9792265354b565f28def7164e7d7db2b1e
mmc: mediatek: fix CMD_TA to 2 for MT8173 HS200/HS400 mode

there is a chance that always get response CRC error after HS200 tuning,
the reason is that need set CMD_TA to 2. this modification is only for
MT8173.

Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
Tested-by: Hsin-Yi Wang <hsinyi@chromium.org>
Cc: stable@vger.kernel.org
Fixes: 1ede5cb88a29 ("mmc: mediatek: Use data tune for CMD line tune")
Link: https://lore.kernel.org/r/20191204071958.18553-1-chaotian.jing@mediatek.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mtk-sd.c