]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
mmc: sdhci-esdhc-imx: fix the mask for tuning start point
authorHaibo Chen <haibo.chen@nxp.com>
Tue, 26 May 2020 10:22:01 +0000 (18:22 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Sat, 8 Aug 2020 05:53:12 +0000 (01:53 -0400)
commit8ddafe0543ab9ee8d49e62185191bc7e7fd32bd3
tree3f1737d0739f3ac1744c0dbfcf2eb63ac38732aa
parent0ade9a6d9ee8cc0d1e28842be00f4c08af0f1664
mmc: sdhci-esdhc-imx: fix the mask for tuning start point

BugLink: https://bugs.launchpad.net/bugs/1885023
[ Upstream commit 1194be8c949b8190b2882ad8335a5d98aa50c735 ]

According the RM, the bit[6~0] of register ESDHC_TUNING_CTRL is
TUNING_START_TAP, bit[7] of this register is to disable the command
CRC check for standard tuning. So fix it here.

Fixes: d87fc9663688 ("mmc: sdhci-esdhc-imx: support setting tuning start point")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://lore.kernel.org/r/1590488522-9292-1-git-send-email-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/mmc/host/sdhci-esdhc-imx.c