|
@@ -1720,6 +1720,11 @@ static int __init dw_mci_init_slot(struct dw_mci *host, unsigned int id)
|
|
|
if (host->pdata->quirks & DW_MCI_QUIRK_HIGHSPEED)
|
|
|
mmc->caps |= MMC_CAP_SD_HIGHSPEED | MMC_CAP_MMC_HIGHSPEED;
|
|
|
|
|
|
+ if (mmc->caps2 & MMC_CAP2_POWEROFF_NOTIFY)
|
|
|
+ mmc->power_notify_type = MMC_HOST_PW_NOTIFY_SHORT;
|
|
|
+ else
|
|
|
+ mmc->power_notify_type = MMC_HOST_PW_NOTIFY_NONE;
|
|
|
+
|
|
|
#ifdef CONFIG_MMC_DW_IDMAC
|
|
|
mmc->max_segs = host->ring_size;
|
|
|
mmc->max_blk_size = 65536;
|