rt2800usb: remove PWR_PIN_CFG=0x3 during init
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 24 Jan 2012 13:09:09 +0000 (14:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Jan 2012 19:57:01 +0000 (14:57 -0500)
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>
drivers/net/wireless/rt2x00/rt2800usb.c

index 425267af6106db996cb54bbf40fb694b8e8db255..f0074bcee7c9d780009c1e9a7e5ef2f9f451da97 100644 (file)
@@ -226,8 +226,6 @@ static int rt2800usb_init_registers(struct rt2x00_dev *rt2x00dev)
        rt2x00usb_register_read(rt2x00dev, PBF_SYS_CTRL, &reg);
        rt2x00usb_register_write(rt2x00dev, PBF_SYS_CTRL, reg & ~0x00002000);
 
-       rt2x00usb_register_write(rt2x00dev, PWR_PIN_CFG, 0x00000003);
-
        reg = 0;
        rt2x00_set_field32(&reg, MAC_SYS_CTRL_RESET_CSR, 1);
        rt2x00_set_field32(&reg, MAC_SYS_CTRL_RESET_BBP, 1);