mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 15:36:51 +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;
|
||||
} while (true);
|
||||
|
||||
sdio_release_host(card->func);
|
||||
|
||||
mwifiex_dbg(adapter, MSG,
|
||||
"info: FW download over, size %d bytes\n", offset);
|
||||
|
||||
ret = 0;
|
||||
done:
|
||||
sdio_release_host(card->func);
|
||||
kfree(fwbuf);
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user