There was an error while loading. Please reload this page.
1 parent 83bb24a commit da721cfCopy full SHA for da721cf
drivers/mmc/host/sdhci-pci.c
@@ -244,7 +244,8 @@ static inline void sdhci_pci_remove_own_cd(struct sdhci_pci_slot *slot)
244
static int mfd_emmc_probe_slot(struct sdhci_pci_slot *slot)
245
{
246
slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE;
247
-slot->host->mmc->caps2 = MMC_CAP2_BOOTPART_NOACC;
+slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC |
248
+ MMC_CAP2_HC_ERASE_SZ;
249
return 0;
250
}
251
0 commit comments