]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: sdhci-pci-o2micro: Fix a warm reboot issue that disk can't be detected by BIOS
authorFred Ai <fred.ai@bayhubtech.com>
Sat, 3 Feb 2024 10:29:08 +0000 (02:29 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:25:13 +0000 (09:25 +0100)
commit4796a1a413000bcc1f0ade7821253b356de95661
tree1deab0d01592be282f8e0a776d90c46d621940ac
parent6d5eae9a95fe7b3caafdc61c478146362e9f9e37
mmc: sdhci-pci-o2micro: Fix a warm reboot issue that disk can't be detected by BIOS

commit 58aeb5623c2ebdadefe6352b14f8076a7073fea0 upstream.

Driver shall switch clock source from DLL clock to
OPE clock when power off card to ensure that card
can be identified with OPE clock by BIOS.

Signed-off-by: Fred Ai <fred.ai@bayhubtech.com>
Fixes:4be33cf18703 ("mmc: sdhci-pci-o2micro: Improve card input timing at SDR104/HS200 mode")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240203102908.4683-1-fredaibayhubtech@126.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-pci-o2micro.c