]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: wake up device before accessing registers
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Wed, 16 Dec 2015 14:52:19 +0000 (16:52 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 31 Dec 2015 13:23:13 +0000 (15:23 +0200)
commitd9a3bf60ac4d166eaab652435f8bee6af814e471
tree8f1ef79b936c3f23634394307479dd03a2106814
parentb8cef206410136587ac9974f94318c25ce197d15
ath10k: wake up device before accessing registers

commit 85e64a41e92e ("ath10k: disable PCI PS for QCA988X
and QCA99X0") partially reverts pci soc powersave support added by
commit 723fde4b29c5 ("ath10k: enable pci soc powersaving"). While
reverting the change, pci wake up function is called after accessing
pci registers instead of prior to access. The assumption is that chip
is woken up before accessing its registers.Though this change does not
fix any known issues, this might help to avoid unknown or low power
platform specific issues.

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/pci.c