Commit ec7e4590 authored by Bhavya Kapoor's avatar Bhavya Kapoor Committed by sanglipeng
Browse files

mmc: sdhci_am654: Set HIGH_SPEED_ENA for SDR12 and SDR25

stable inclusion
from stable-v5.10.179
commit 651b0bf43d6706496c993312c3e86cb858606eba
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8C809

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=651b0bf43d6706496c993312c3e86cb858606eba



--------------------------------

commit 2265098f upstream.

Timing Information in Datasheet assumes that HIGH_SPEED_ENA=1 should be
set for SDR12 and SDR25 modes. But sdhci_am654 driver clears
HIGH_SPEED_ENA register. Thus, Modify sdhci_am654 to not clear
HIGH_SPEED_ENA (HOST_CONTROL[2]) bit for SDR12 and SDR25 speed modes.

Fixes: e374e875 ("mmc: sdhci_am654: Clear HISPD_ENA in some lower speed modes")
Signed-off-by: default avatarBhavya Kapoor <b-kapoor@ti.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20230317092711.660897-1-b-kapoor@ti.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 552c2e14
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment