diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/au1xmmc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/au1xmmc.c b/drivers/mmc/host/au1xmmc.c index c8649dfb2d0c..57b21198828f 100644 --- a/drivers/mmc/host/au1xmmc.c +++ b/drivers/mmc/host/au1xmmc.c | |||
@@ -1017,6 +1017,10 @@ static int __devinit au1xmmc_probe(struct platform_device *pdev) | |||
1017 | } else | 1017 | } else |
1018 | mmc->caps |= MMC_CAP_NEEDS_POLL; | 1018 | mmc->caps |= MMC_CAP_NEEDS_POLL; |
1019 | 1019 | ||
1020 | /* platform may not be able to use all advertised caps */ | ||
1021 | if (host->platdata) | ||
1022 | mmc->caps &= ~(host->platdata->mask_host_caps); | ||
1023 | |||
1020 | tasklet_init(&host->data_task, au1xmmc_tasklet_data, | 1024 | tasklet_init(&host->data_task, au1xmmc_tasklet_data, |
1021 | (unsigned long)host); | 1025 | (unsigned long)host); |
1022 | 1026 | ||