RE: [PATCH v2 net-next 1/2] r8169: enable ALDPS for power saving

From: hayeswang
Date: Wed Oct 24 2012 - 01:55:50 EST


Francois Romieu [mailto:romieu@xxxxxxxxxxxxx]
[...]
> > +static void r810x_aldps_disable(struct rtl8169_private *tp)
> > +{
> > + rtl_writephy(tp, 0x1f, 0x0000);
> > + rtl_writephy(tp, 0x18, 0x0310);
> > + msleep(100);
> > +}
>
> rtl8402_hw_phy_config used a msleep(20). Meguesses it won't
> hurt, right ?

No, it won't hurt. The delay make suer there is enough time to pause ALDPS.

Best Regards,
Hayes

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/