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

Commit ee2aaee4 authored by Subhash Jadavani's avatar Subhash Jadavani
Browse files

mmc: core: fix typo in mmc_stop_host



mmc_stop_host() should be calling mmc_unregister_extcon() to deregister
from the extcon framework but instead it was calling mmc_register_extcon().
Fixed this typo.

Change-Id: I6a235b9b34f01b29aeebf344cb2837f927b47d9c
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent 1996ec83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4472,7 +4472,7 @@ void mmc_stop_host(struct mmc_host *host)

	BUG_ON(host->card);

	mmc_register_extcon(host);
	mmc_unregister_extcon(host);

	mmc_claim_host(host);
	mmc_power_off(host);