]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: make warm reset a bit safer and faster
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 28 Oct 2014 09:32:06 +0000 (10:32 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 31 Oct 2014 00:26:59 +0000 (02:26 +0200)
commit642ef992b68b176bd41eb94a37af8b683dfca398
treeb9b9a00f89d9ddeefa64796be2651da571298926
parent21b83b15ad2c711a0cee759332ef2e7773480a73
ath10k: make warm reset a bit safer and faster

One of the problems with warm reset I've found is
that it must be guaranteed that copy engine
registers are not being accessed while being
reset. Otherwise in worst case scenario the host
may lock up.

Instead of using sleeps and hoping the device is
operational in some arbitrary timeframes use
firmware indication register.

As a side effect this makes driver
boot/stop/recovery faster.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c