* [PATCH] mmc: core: Fix typo at mmc_card_sleep
@ 2011-11-17 4:34 Kyungmin Park
2011-11-17 4:41 ` Chris Ball
0 siblings, 1 reply; 2+ messages in thread
From: Kyungmin Park @ 2011-11-17 4:34 UTC (permalink / raw)
To: Chris Ball, linux-mmc; +Cc: Jaehoon Chung
From: Kyungmin Park <kyungmin.park@samsung.com>
Fix wrong bus_ops->sleep check.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
---
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 5278ffb..193e449 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -2196,7 +2196,7 @@ int mmc_card_sleep(struct mmc_host *host)
mmc_bus_get(host);
- if (host->bus_ops && !host->bus_dead && host->bus_ops->awake)
+ if (host->bus_ops && !host->bus_dead && host->bus_ops->sleep)
err = host->bus_ops->sleep(host);
mmc_bus_put(host);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mmc: core: Fix typo at mmc_card_sleep
2011-11-17 4:34 [PATCH] mmc: core: Fix typo at mmc_card_sleep Kyungmin Park
@ 2011-11-17 4:41 ` Chris Ball
0 siblings, 0 replies; 2+ messages in thread
From: Chris Ball @ 2011-11-17 4:41 UTC (permalink / raw)
To: Kyungmin Park; +Cc: linux-mmc, Jaehoon Chung
Hi,
On Wed, Nov 16 2011, Kyungmin Park wrote:
> From: Kyungmin Park <kyungmin.park@samsung.com>
>
> Fix wrong bus_ops->sleep check.
>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
> index 5278ffb..193e449 100644
> --- a/drivers/mmc/core/core.c
> +++ b/drivers/mmc/core/core.c
> @@ -2196,7 +2196,7 @@ int mmc_card_sleep(struct mmc_host *host)
>
> mmc_bus_get(host);
>
> - if (host->bus_ops && !host->bus_dead && host->bus_ops->awake)
> + if (host->bus_ops && !host->bus_dead && host->bus_ops->sleep)
> err = host->bus_ops->sleep(host);
>
> mmc_bus_put(host);
>
Thanks, applied to mmc-next for 3.2.
(My understanding is that this isn't going to have any real-world
consequences, since the only bus that defines awake or sleep is
core/mmc.c, and it defines both of them.)
- Chris.
--
Chris Ball <cjb@laptop.org> <http://printf.net/>
One Laptop Per Child
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-17 4:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-17 4:34 [PATCH] mmc: core: Fix typo at mmc_card_sleep Kyungmin Park
2011-11-17 4:41 ` Chris Ball
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.