]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ath9k_hw: read and backup AR_WA register value even before chip reset on.
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Wed, 22 Dec 2010 13:47:18 +0000 (19:17 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Jan 2011 21:36:07 +0000 (16:36 -0500)
commit0a8d7cb0c8182df7a28ad719780071178c386f0f
tree20447f4a9bd846f8947550fb80b17795eae04eb9
parentac45c12dfb3f727a5a7a3332ed9c11b4a5ab287e
ath9k_hw: read and backup AR_WA register value even before chip reset on.

We need to read and backup AR_WA register value permanently and reading
this after the chip is awakened results in this register being zeroed out.

This seems to fix the ASPM with L1 enabled issue that we have observed.
The laptop becomes very slow and hangs mostly with ASPM L1 enabled without
this fix.

Cc: Stable Kernel <stable@kernel.org>
Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c