Commit ec0dace9 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mmc: core: Handle err variable properly in shutdown path"

parents 560bb7a0 f35229dd
......@@ -2426,6 +2426,7 @@ static int _mmc_resume(struct mmc_host *host)
#if defined(CONFIG_SDC_QTI)
if (!mmc_card_suspended(host->card)) {
mmc_release_host(host);
err = 0;
#else
if (!mmc_card_suspended(host->card))
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment