]> git.openfabrics.org - ~emulex/infiniband.git/commit
ath10k: suspend hardware before reset
authorMarek Puzyniak <marek.puzyniak@tieto.com>
Mon, 10 Feb 2014 16:14:24 +0000 (17:14 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Feb 2014 15:24:17 +0000 (17:24 +0200)
commit00f5482bcd940c11b9b81e7c399fd5f4f6667bd0
tree1209170c2d7692f5345fdb5a22bd5ce91037fa59
parent9042e17df8340247ebed9c67f4b64228f16b4c36
ath10k: suspend hardware before reset

In case of warm reset target need to be suspended.
Suspend function is extented to handle both cases
with disabling interrupts and without disabling interrupts.
Warm target reset requires suspend with all interrupts
disabled.

This patch depends on
ath10k: fix device initialization routine

Signed-off-by: Marek Puzyniak <marek.puzyniak@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h