Skip to contentSkip to conversation

mmc: dw-mmc: add the capability of power-off -notify feature

PATCH In review Jaehoon Chung 3 participants 5 messages Jan 13, 2012 – Feb 4, 2012

Subsystems (2)
lore
Share & tools
lore

Jaehoon Chung

author maintainer
#0 lore raw

PATCH 1/1 mmc: dw-mmc: add the capability of power-off -notify feature

This patch add the capability of power off notify for dw-mmc controller. In order to use Girish's patch(mmc: core: Add Power Off Notify Feature eMMC 4.5)

Signed-off-by Kyungmin Park <kyungmin [email protected]>
---
 drivers/mmc/host/dw_mmc.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
drivers/mmc/host/dw_mmc.c +5 -0
index 0e34279..c842c52 100644
@@ -1714,6 +1714,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;
Signature · 1 line
1.7.4.1
author maintainer
#2 lore raw

Thanks, Will

That's typo..

Quoted 15 lines · Will Newton
Quoted 5 lines · Jaehoon Chung

This patch add the capability of power off notify for dw-mmc controller. In order to use Girish's patch(mmc: core: Add Power Off Notify Feature eMMC 4.5)

Signed-off-by Kyungmin Park <kyungmin [email protected]>

The patch looks ok but the email address for Kyungmin Park is broken. Otherwise:

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

Hi,

Quoted 5 lines · Will Newton
Quoted 4 lines · Jaehoon Chung

Thanks, Will

That's typo..

Quoted 8 lines
Quoted 1 line

Hi Chris,

Are you happy to pick up the patch with this change or would you prefer a reposted version?

Thanks, fixed Kyungmin's mail address and pushed to mmc-next for 3.4 with Will's ACK.

- Chris.

Signature · 2 lines
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child