]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix device initialization routine
authorMichal Kazior <michal.kazior@tieto.com>
Mon, 10 Feb 2014 16:14:22 +0000 (17:14 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 13 Feb 2014 14:55:01 +0000 (16:55 +0200)
commitc34e6c1f6d174878e74b2ecdac9c1666493b1134
treedd2155c2e84bcef8e2313cce0e320482dcb0215d
parentb7646b5a3f5fb523eb16664298a18e4420ca6443
ath10k: fix device initialization routine

Hardware CUS232 version 2 has some issues with cold
reset that lead to Data Bus Errors or system hangs
in some cases. It's safer to use warm reset when
possible as it shouldn't trigger the
aforementioned issues.

Prefer warm reset over cold reset. However since
warm reset doesn't work after FW crash make sure to
fallback to cold reset when booting up the HW.

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