mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-09-28 00:00:22 +02:00
mmc: core: merge resolution
Miscellaneous merge resolutions in mmc. Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
This commit is contained in:
@@ -2502,10 +2502,14 @@ int mmc_suspend_host(struct mmc_host *host)
|
||||
err = -EBUSY;
|
||||
|
||||
if (!err) {
|
||||
if (host->bus_ops->suspend)
|
||||
if (host->bus_ops->suspend) {
|
||||
if (mmc_card_doing_bkops(host->card))
|
||||
mmc_interrupt_bkops(host->card);
|
||||
|
||||
err = host->bus_ops->suspend(host);
|
||||
}
|
||||
if (!(host->card && mmc_card_sdio(host->card)))
|
||||
mmc_do_release_host(host);
|
||||
mmc_release_host(host);
|
||||
|
||||
if (err == -ENOSYS || !host->bus_ops->resume) {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user