All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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.