sdmmc: Correct bus speed for SDR25

Fix bus speed on SDR25 even if all UHS cards support SDR50 and SDR104.
This commit is contained in:
CTCaer 2020-11-15 15:11:19 +02:00
parent 4166a3c128
commit 55395ea4fd

View file

@ -994,7 +994,7 @@ DPRINTF("[SD] bus speed set to SDR50\n");
if (access_mode & SD_MODE_UHS_SDR25) if (access_mode & SD_MODE_UHS_SDR25)
{ {
type = SDHCI_TIMING_UHS_SDR25; type = SDHCI_TIMING_UHS_SDR25;
hs_type = UHS_SDR50_BUS_SPEED; hs_type = UHS_SDR25_BUS_SPEED;
DPRINTF("[SD] bus speed set to SDR25\n"); DPRINTF("[SD] bus speed set to SDR25\n");
storage->csd.busspeed = 25; storage->csd.busspeed = 25;
break; break;