Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c99872a1 authored by Kyungmin Park's avatar Kyungmin Park Committed by Chris Ball
Browse files

mmc: core: Fix typo at mmc_card_sleep



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: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent a80f1627
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);