Skip to content
/ linux Public

Commit 9bfef0d

Browse files
matte-schwartzSasha Levin
authored andcommitted
mmc: rtsx_pci_sdmmc: increase power-on settling delay to 5ms
[ Upstream commit aced969 ] The existing 1ms delay in sd_power_on is insufficient and causes resume errors around 4% of the time. Increasing the delay to 5ms resolves this issue after testing 300 s2idle cycles. Fixes: 1f311c9 ("mmc: rtsx: add 74 Clocks in power on flow") Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev> Link: https://patch.msgid.link/20260105060236.400366-3-matthew.schwartz@linux.dev Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent b4f31f3 commit 9bfef0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/mmc/host/rtsx_pci_sdmmc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ static int sd_power_on(struct realtek_pci_sdmmc *host, unsigned char power_mode)
938938
if (err < 0)
939939
return err;
940940

941-
mdelay(1);
941+
mdelay(5);
942942

943943
err = rtsx_pci_write_register(pcr, CARD_OE, SD_OUTPUT_EN, SD_OUTPUT_EN);
944944
if (err < 0)

0 commit comments

Comments
 (0)