[rt2x00-users] [RFC/RTF 5/5] rt2800usb: remove PWR_PIN_CFG=0x3 during init

Helmut Schaa helmut.schaa at googlemail.com
Wed Jan 18 01:57:54 AEDT 2012


On Tue, Jan 17, 2012 at 12:53 PM, Stanislaw Gruszka <sgruszka at redhat.com> wrote:
> This seems to be only needed as workaround for hardware problem on
> PCI devices.
>
> Signed-off-by: Stanislaw Gruszka <sgruszka at redhat.com>

Looks correct to me.

Acked-by: Helmut Schaa <helmut.schaa at googlemail.com>

> ---
>  drivers/net/wireless/rt2x00/rt2800usb.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
> index cf4cd24..6e0edaf 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)
>        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);
> --
> 1.7.1
>
>
> _______________________________________________
> users mailing list
> users at rt2x00.serialmonkey.com
> http://rt2x00.serialmonkey.com/mailman/listinfo/users_rt2x00.serialmonkey.com




More information about the users mailing list