Skip to content

Commit

Permalink
mwifiex: fix SDIO firmware dump problem
Browse files Browse the repository at this point in the history
It's been observed that firmware doesn't go back to normal
state when all firmware memories are dumped. As a result,
further commands are blocked. This happens due to missing
driver change of writing READ DONE to control register for
SDIO interface.

This patch adds a missing change to fix the problem.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Cathy Luo <cluo@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
  • Loading branch information
Amitkumar Karwar authored and Kalle Valo committed Jun 2, 2015
1 parent fc23e81 commit e065ddb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/net/wireless/mwifiex/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -2241,6 +2241,13 @@ static void mwifiex_sdio_fw_dump_work(struct mwifiex_adapter *adapter)

if (memory_size == 0) {
mwifiex_dbg(adapter, DUMP, "Firmware dump Finished!\n");
ret = mwifiex_write_reg(adapter,
card->reg->fw_dump_ctrl,
FW_DUMP_READ_DONE);
if (ret) {
mwifiex_dbg(adapter, ERROR, "SDIO write err\n");
return;
}
break;
}

Expand Down

0 comments on commit e065ddb

Please sign in to comment.