* [PATCH] mmc: dw-mmc: add the capability of power-off -notify feature
@ 2012-01-13 8:31 Jaehoon Chung
2012-01-13 11:05 ` Will Newton
0 siblings, 1 reply; 5+ messages in thread
From: Jaehoon Chung @ 2012-01-13 8:31 UTC (permalink / raw)
To: linux-mmc; +Cc: Chris Ball, Kyungmin Park, Will Newton, James Hogan, Girish K S
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: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin Park@samsung.com>
---
drivers/mmc/host/dw_mmc.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 0e34279..c842c52 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -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;
--
1.7.4.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] mmc: dw-mmc: add the capability of power-off -notify feature
2012-01-13 8:31 [PATCH] mmc: dw-mmc: add the capability of power-off -notify feature Jaehoon Chung
@ 2012-01-13 11:05 ` Will Newton
2012-01-17 1:25 ` Jaehoon Chung
0 siblings, 1 reply; 5+ messages in thread
From: Will Newton @ 2012-01-13 11:05 UTC (permalink / raw)
To: Jaehoon Chung
Cc: linux-mmc, Chris Ball, Kyungmin Park, Will Newton, James Hogan,
Girish K S
On Fri, Jan 13, 2012 at 8:31 AM, Jaehoon Chung <jh80.chung@samsung.com> wrote:
> 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: Jaehoon Chung <jh80.chung@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin Park@samsung.com>
The patch looks ok but the email address for Kyungmin Park is broken. Otherwise:
Acked-by: Will Newton <will.newton@imgtec.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mmc: dw-mmc: add the capability of power-off -notify feature
2012-01-13 11:05 ` Will Newton
@ 2012-01-17 1:25 ` Jaehoon Chung
2012-01-19 10:27 ` Will Newton
0 siblings, 1 reply; 5+ messages in thread
From: Jaehoon Chung @ 2012-01-17 1:25 UTC (permalink / raw)
To: Will Newton
Cc: Jaehoon Chung, linux-mmc, Chris Ball, Kyungmin Park, Will Newton,
James Hogan, Girish K S
Thanks, Will
That's typo..
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
On 01/13/2012 08:05 PM, Will Newton wrote:
> On Fri, Jan 13, 2012 at 8:31 AM, Jaehoon Chung <jh80.chung@samsung.com> wrote:
>> 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: Jaehoon Chung <jh80.chung@samsung.com>
>> Signed-off-by: Kyungmin Park <kyungmin Park@samsung.com>
>
> The patch looks ok but the email address for Kyungmin Park is broken. Otherwise:
>
> Acked-by: Will Newton <will.newton@imgtec.com>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mmc: dw-mmc: add the capability of power-off -notify feature
2012-01-17 1:25 ` Jaehoon Chung
@ 2012-01-19 10:27 ` Will Newton
2012-02-04 21:41 ` Chris Ball
0 siblings, 1 reply; 5+ messages in thread
From: Will Newton @ 2012-01-19 10:27 UTC (permalink / raw)
To: Chris Ball
Cc: linux-mmc, Kyungmin Park, Will Newton, James Hogan, Girish K S,
Jaehoon Chung
On Tue, Jan 17, 2012 at 1:25 AM, Jaehoon Chung <jh80.chung@samsung.com> wrote:
> Thanks, Will
>
> That's typo..
>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Hi Chris,
Are you happy to pick up the patch with this change or would you
prefer a reposted version?
Acked-by: Will Newton <will.newton@imgtec.com>
Thanks,
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] mmc: dw-mmc: add the capability of power-off -notify feature
2012-01-19 10:27 ` Will Newton
@ 2012-02-04 21:41 ` Chris Ball
0 siblings, 0 replies; 5+ messages in thread
From: Chris Ball @ 2012-02-04 21:41 UTC (permalink / raw)
To: Will Newton
Cc: linux-mmc, Kyungmin Park, Will Newton, James Hogan, Girish K S,
Jaehoon Chung
Hi,
On Thu, Jan 19 2012, Will Newton wrote:
> On Tue, Jan 17, 2012 at 1:25 AM, Jaehoon Chung <jh80.chung@samsung.com> wrote:
>> Thanks, Will
>>
>> That's typo..
>>
>> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
>
> Hi Chris,
>
> Are you happy to pick up the patch with this change or would you
> prefer a reposted version?
>
> Acked-by: Will Newton <will.newton@imgtec.com>
Thanks, fixed Kyungmin's mail address and pushed to mmc-next for 3.4
with Will's ACK.
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-02-04 21:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-13 8:31 [PATCH] mmc: dw-mmc: add the capability of power-off -notify feature Jaehoon Chung
2012-01-13 11:05 ` Will Newton
2012-01-17 1:25 ` Jaehoon Chung
2012-01-19 10:27 ` Will Newton
2012-02-04 21:41 ` Chris Ball
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox