Commit 8b280564 authored by Ricky Wu's avatar Ricky Wu Committed by Ulf Hansson
Browse files

mmc: rtsx: Add MMC_CAP2_NO_SDIO flag



Added flag MMC_CAP2_NO_SDIO to mmc->caps2
Card Reader not support SDIO

Signed-off-by: default avatarRicky Wu <ricky_wu@realtek.com>
Link: https://lore.kernel.org/r/20201230090401.12627-2-ricky_wu@realtek.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent a5ca4c32
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1425,7 +1425,8 @@ static void realtek_init_host(struct realtek_pci_sdmmc *host)
		MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25;
	if (pcr->rtd3_en)
		mmc->caps = mmc->caps | MMC_CAP_AGGRESSIVE_PM;
	mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE;
	mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE |
		MMC_CAP2_NO_SDIO;
	mmc->max_current_330 = 400;
	mmc->max_current_180 = 800;
	mmc->ops = &realtek_pci_sdmmc_ops;