From 02a90aa538f4e6b10599d4ad979fda0edaa865c1 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Fri, 13 Jan 2012 17:31:32 +0900 Subject: [PATCH] --- yaml --- r: 297317 b: refs/heads/master c: 356ac2cf066174aecc3380f82fabe8a01f046c3f h: refs/heads/master i: 297315: e1c1709824739cdb27010cac4720e444601383b1 v: v3 --- [refs] | 2 +- trunk/drivers/mmc/host/dw_mmc.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index e9beee3877fd..98f80eae5ee0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4265900e0be653f5b78baf2816857ef57cf1332f +refs/heads/master: 356ac2cf066174aecc3380f82fabe8a01f046c3f diff --git a/trunk/drivers/mmc/host/dw_mmc.c b/trunk/drivers/mmc/host/dw_mmc.c index 8bec1c36b159..1dfcdef452b9 100644 --- a/trunk/drivers/mmc/host/dw_mmc.c +++ b/trunk/drivers/mmc/host/dw_mmc.c @@ -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;