ath10k: sdio: reset chip on power_down()
authorWen Gong <wgong@codeaurora.org>
Mon, 25 Feb 2019 09:46:01 +0000 (11:46 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 Feb 2019 13:02:08 +0000 (15:02 +0200)
commit55545b08701291b404f79cdc644b99d70e7f486e
tree165455c97e86f2ddcf0a01573d4dc5701b179a26
parent6cd70c65647b675250ac490bfd7f45bae2cf2aa8
ath10k: sdio: reset chip on power_down()

The target device needs to be reset during power_down(), otherwise only the
first power_up() will work. And as ath10k calls power_up() during driver
initialisation the driver would be otherwise unusable.

Tested with QCA6174 SDIO with firmware WLAN.RMH.4.4.1-00005-QCARMSWP-1.

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/sdio.c