]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 19:50:10 +0000 (12:50 -0700)
commit39780ab15d48a88ca4652d3630808150e4ca2e5f
tree5df022cd917a1b6d600a418df9284ae24ce21527
parent2bad0a40b93b87a0ebc4c789ad6defe04b3ee8d9
ath9k_hw: read and backup AR_WA register value even before chip reset on.

commit 0a8d7cb0c8182df7a28ad719780071178c386f0f upstream.

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.

Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/ath/ath9k/hw.c