aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/sdhci-pxav3.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
index 14437fc17d83..56d6a2e3194f 100644
--- a/drivers/mmc/host/sdhci-pxav3.c
+++ b/drivers/mmc/host/sdhci-pxav3.c
@@ -268,11 +268,9 @@ static int sdhci_pxav3_probe(struct platform_device *pdev)
268 pdata = pxav3_get_mmc_pdata(dev); 268 pdata = pxav3_get_mmc_pdata(dev);
269 269
270 if (pdata) { 270 if (pdata) {
271 if (pdata->flags & PXA_FLAG_CARD_PERMANENT) { 271 /* on-chip device */
272 /* on-chip device */ 272 if (pdata->flags & PXA_FLAG_CARD_PERMANENT)
273 host->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION;
274 host->mmc->caps |= MMC_CAP_NONREMOVABLE; 273 host->mmc->caps |= MMC_CAP_NONREMOVABLE;
275 }
276 274
277 /* If slot design supports 8 bit data, indicate this to MMC. */ 275 /* If slot design supports 8 bit data, indicate this to MMC. */
278 if (pdata->flags & PXA_FLAG_SD_8_BIT_CAPABLE_SLOT) 276 if (pdata->flags & PXA_FLAG_SD_8_BIT_CAPABLE_SLOT)