]> git.baikalelectronics.ru Git - kernel.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)
commitb96f6bed765a0521def560102e10d56a8a1ba845
tree1209170c2d7692f5345fdb5a22bd5ce91037fa59
parente645f7abd28a579ec2d87b75a73560476e183587
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