Correct a typo in the comment part of r320577, later on copied into
the commit message; as actually implemented, the intent is to retry up to 2 ms for controllers to enable bus power. Noticed by: ian@, rgrimes@ Additional note: Among others, the problem addressed by r320577 is the APL32 ("Storage Controllers May Not Be Power Gated") erratum. Hopefully, along with r318282, r320577 works around the remaining problems seen with Intel Apollo Lake eMMC and SDXC controllers.
This commit is contained in:
parent
467b3975a3
commit
8022c8eba3
@ -398,7 +398,7 @@ sdhci_set_power(struct sdhci_slot *slot, u_char power)
|
||||
/*
|
||||
* Turn on VDD1 power. Note that at least some Intel controllers can
|
||||
* fail to enable bus power on the first try after transiting from D3
|
||||
* to D0, so we give them up to 20 ms.
|
||||
* to D0, so we give them up to 2 ms.
|
||||
*/
|
||||
pwr |= SDHCI_POWER_ON;
|
||||
for (i = 0; i < 20; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user