From: Pavel Roskin Date: Tue, 23 Feb 2010 23:15:27 +0000 (-0500) Subject: ath9k: never read from the AR_IMR_S2 register X-Git-Tag: v2.6.35-rc1~473^2~714^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74bad5cb497080514c4a945f38589bdb574fdfb7;p=pandora-kernel.git ath9k: never read from the AR_IMR_S2 register The AR_IMR_S2 register sometimes cannot be read correctly. Instead of a valid value, 0xdeadbeef is returned. The driver has been observed writing that value back to AR_IMR_S2 after changing a few bits. Cache the register value in ah->imrs2_reg and always write chached value to the register. Signed-off-by: Pavel Roskin Signed-off-by: John W. Linville --- Reading git-diff-tree failed