From 13e8a2a97200c7e10a0a11db0922c62036a5bcb4 Mon Sep 17 00:00:00 2001 From: Sujith Date: Fri, 23 Apr 2010 10:28:11 +0530 Subject: [PATCH] --- yaml --- r: 194663 b: refs/heads/master c: d5e347bf0f5e99f540aaaaca25ef4e957d59a506 h: refs/heads/master i: 194661: 3a682a51ace55b7254218b7916713aa132017d29 194659: f7397a271246d39df5ba470e8d1d5e7d76a940be 194655: 43bdffdd74713fbe9f26097907161081d7a93e90 v: v3 --- [refs] | 2 +- trunk/drivers/net/wireless/ath/ath9k/ar9002_hw.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index afb37034c7e4..c53751154cb1 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a3be14b76da111ebe4d245b0542613f9317104e7 +refs/heads/master: d5e347bf0f5e99f540aaaaca25ef4e957d59a506 diff --git a/trunk/drivers/net/wireless/ath/ath9k/ar9002_hw.c b/trunk/drivers/net/wireless/ath/ath9k/ar9002_hw.c index adb33b34a56d..a8a8cdc04afa 100644 --- a/trunk/drivers/net/wireless/ath/ath9k/ar9002_hw.c +++ b/trunk/drivers/net/wireless/ath/ath9k/ar9002_hw.c @@ -408,6 +408,8 @@ static void ar9002_hw_configpcipowersave(struct ath_hw *ah, REG_WRITE(ah, AR_PCIE_SERDES2, 0x00000000); } else { + ENABLE_REGWRITE_BUFFER(ah); + REG_WRITE(ah, AR_PCIE_SERDES, 0x9248fc00); REG_WRITE(ah, AR_PCIE_SERDES, 0x24924924); @@ -428,6 +430,9 @@ static void ar9002_hw_configpcipowersave(struct ath_hw *ah, /* Load the new settings */ REG_WRITE(ah, AR_PCIE_SERDES2, 0x00000000); + + REGWRITE_BUFFER_FLUSH(ah); + DISABLE_REGWRITE_BUFFER(ah); } udelay(1000);