]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k_hw: Fix system hang when resuming from S3/S4
authorRajkumar Manoharan <rmanoharan@atheros.com>
Thu, 27 Jan 2011 13:09:37 +0000 (18:39 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 23:13:56 +0000 (15:13 -0800)
commitbb0a047d608342d23717beb7a5005ef34119592c
tree14a7376bec4ed4084e655d435da13a207572e1f1
parent753f1e0a1b142d08f2d9212843c275fbc62ffa51
ath9k_hw: Fix system hang when resuming from S3/S4

commit 5b64aa72ead6f8be488d2be7af579f0d69fb7a6e upstream.

The bit 6 & 7 of AR_WA (0x4004) should be enabled only
for the chips that are supporting L0s functionality
while resuming back from S3/S4.

Enabling these bits for AR9280 is causing system hang
within a few S3/S4-resume cycles.

Cc: Jack Lee <jlee@atheros.com>
Signed-off-by: Rajkumar Manoharan <rmanoharan@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/ar9002_hw.c