Skip to content

Commit

Permalink
mmc: core: Fix typo at mmc_card_sleep
Browse files Browse the repository at this point in the history
Fix wrong bus_ops->sleep check.  (This isn't expected to have real-world
consequences, because the mmc core always defines both 'awake' and
'sleep' ops.)

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
  • Loading branch information
Kyungmin Park authored and Chris Ball committed Dec 10, 2011
1 parent a80f162 commit c99872a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2218,7 +2218,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);
Expand Down

0 comments on commit c99872a

Please sign in to comment.