]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 29 Jan 2020 04:45:21 +0000 (23:45 -0500)
commit018348c2e78a4756ee7330d88b75827ecaa64c64
tree15a4ed442fcac78ef633f4c7c2dd743c8b47ae68
parentc1f446e88c939dd799d9d4fcb01e5a235d9bc134
mmc: mediatek: fix CMD_TA to 2 for MT8173 HS200/HS400 mode

BugLink: https://bugs.launchpad.net/bugs/1859712
commit 8f34e5bd7024d1ffebddd82d7318b1be17be9e9a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/mmc/host/mtk-sd.c