mmc: core: Fix typo at mmc_card_sleep
PATCH 1/1 mmc: core: Fix typo at mmc_card_sleep
From: Kyungmin Park <[email protected]>
Fix wrong bus_ops->sleep check.
Signed-off-by Kyungmin Park <[email protected]>
---
drivers/mmc/core/core.c +1 -1
@@ -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);
Chris Ball
AppliedHi,
Quoted 12 lines · Kyungmin Park
From: Kyungmin Park <[email protected]>
Fix wrong
bus_ops->sleepcheck.Signed-off-by Kyungmin Park <[email protected]>---
drivers/mmc/core/core.c +0
-0
drivers/mmc/core/core.c int mmc_card_sleep(struct mmc_host *host) · line 2202
Quoted 8 lines
drivers/mmc/core/core.c +1
-1@@ -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.
Signature · 2 lines
Chris Ball <[email protected]> <http://printf.net/> One Laptop Per Child