aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2012-01-24 08:09:09 -0500
committerJohn W. Linville <linville@tuxdriver.com>2012-01-27 14:57:01 -0500
commit10ef6a8f1567739192c29f11375556ce0d53ec74 (patch)
treeefac6a3c402bc4c9356643c719dd516a37d9476c /drivers/net/wireless/rt2x00
parent2a48e8ae113be506a7169d50c0b8fcb3ab0c462a (diff)
rt2800usb: remove PWR_PIN_CFG=0x3 during init
This seems to be only needed as workaround for hardware problem on PCI devices. Acked-by: Helmut Schaa <helmut.schaa@googlemail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800usb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
index 425267af6106..f0074bcee7c9 100644
--- a/drivers/net/wireless/rt2x00/rt2800usb.c
+++ b/drivers/net/wireless/rt2x00/rt2800usb.c
@@ -226,8 +226,6 @@ static int rt2800usb_init_registers(struct rt2x00_dev *rt2x00dev)
226 rt2x00usb_register_read(rt2x00dev, PBF_SYS_CTRL, &reg); 226 rt2x00usb_register_read(rt2x00dev, PBF_SYS_CTRL, &reg);
227 rt2x00usb_register_write(rt2x00dev, PBF_SYS_CTRL, reg & ~0x00002000); 227 rt2x00usb_register_write(rt2x00dev, PBF_SYS_CTRL, reg & ~0x00002000);
228 228
229 rt2x00usb_register_write(rt2x00dev, PWR_PIN_CFG, 0x00000003);
230
231 reg = 0; 229 reg = 0;
232 rt2x00_set_field32(&reg, MAC_SYS_CTRL_RESET_CSR, 1); 230 rt2x00_set_field32(&reg, MAC_SYS_CTRL_RESET_CSR, 1);
233 rt2x00_set_field32(&reg, MAC_SYS_CTRL_RESET_BBP, 1); 231 rt2x00_set_field32(&reg, MAC_SYS_CTRL_RESET_BBP, 1);