]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 4 Apr 2022 11:49:02 +0000 (13:49 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 7 Apr 2022 10:48:19 +0000 (12:48 +0200)
commit03e59b1e2f56245163b14c69e0a830c24b1a3a47
treee76f686a4a34cd5aff92a9cded2747e76c61df9a
parent46d4820f949a3030b19ee482c68a50b06dd27590
mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete

When HS400 tuning is complete and HS400 is going to be activated, we
have to keep the current number of TAPs and should not overwrite them
with a hardcoded value. This was probably a copy&paste mistake when
upporting HS400 support from the BSP.

Fixes: 26eb2607fa28 ("mmc: renesas_sdhi: add eMMC HS400 mode support")
Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20220404114902.12175-1-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi_core.c