mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 17:44:52 +07:00
mwifiex: fw download does not release sdio bus during failure
Signed-off-by: Marty Faltesek <mfaltesek@google.com> Reviewed-by: Julian Calaby <julian.calaby@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
bb28c28ee1
commit
b977d305ad
@ -1103,13 +1103,12 @@ static int mwifiex_prog_fw_w_helper(struct mwifiex_adapter *adapter,
|
|||||||
offset += txlen;
|
offset += txlen;
|
||||||
} while (true);
|
} while (true);
|
||||||
|
|
||||||
sdio_release_host(card->func);
|
|
||||||
|
|
||||||
mwifiex_dbg(adapter, MSG,
|
mwifiex_dbg(adapter, MSG,
|
||||||
"info: FW download over, size %d bytes\n", offset);
|
"info: FW download over, size %d bytes\n", offset);
|
||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
done:
|
done:
|
||||||
|
sdio_release_host(card->func);
|
||||||
kfree(fwbuf);
|
kfree(fwbuf);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user