mmc: sdhci: add support for realtek rts5250
Add support for realtek rts5250 pci card reader. The card reader has some problems with DDR50 mode, so add a new quirks2 for broken ddr50. Signed-off-by: Micky Ching <micky_ching@realsil.com.cn> Signed-off-by: Chris Ball <chris@printf.net>
This commit is contained in:
@@ -3020,7 +3020,8 @@ int sdhci_add_host(struct sdhci_host *host)
|
||||
} else if (caps[1] & SDHCI_SUPPORT_SDR50)
|
||||
mmc->caps |= MMC_CAP_UHS_SDR50;
|
||||
|
||||
if (caps[1] & SDHCI_SUPPORT_DDR50)
|
||||
if ((caps[1] & SDHCI_SUPPORT_DDR50) &&
|
||||
!(host->quirks2 & SDHCI_QUIRK2_BROKEN_DDR50))
|
||||
mmc->caps |= MMC_CAP_UHS_DDR50;
|
||||
|
||||
/* Does the host need tuning for SDR50? */
|
||||
|
Reference in New Issue
Block a user