Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mmc: rtsx_pci_sdmmc: increase power-on settling delay to 5ms

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: 1f311c94aabd ("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>

authored by

Matthew Schwartz and committed by
Greg Kroah-Hartman
aced969e eac85fbd

+1 -1
+1 -1
drivers/mmc/host/rtsx_pci_sdmmc.c
··· 947 947 if (err < 0) 948 948 return err; 949 949 950 - mdelay(1); 950 + mdelay(5); 951 951 952 952 err = rtsx_pci_write_register(pcr, CARD_OE, SD_OUTPUT_EN, SD_OUTPUT_EN); 953 953 if (err < 0)