Re: [PATCH v2] net: phy: micrel: Add specific suspend

From: David Miller
Date: Tue Aug 09 2016 - 19:20:10 EST


From: Wenyou Yang <wenyou.yang@xxxxxxxxx>
Date: Fri, 5 Aug 2016 14:35:41 +0800

> Disable all interrupts when suspend, they will be enabled
> when resume. Otherwise, the suspend/resume process will be
> blocked occasionally.
>
> Signed-off-by: Wenyou Yang <wenyou.yang@xxxxxxxxx>
> Acked-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
> ---
>
> Changes in v2:
> - Use fairly generic phydrv->config_intr() with
> PHY_INTERRUPT_DISABLED, then call genphy_suspend().
> - Modify kszphy_resume() with PHY_INTERRUPT_ENABLED accordingly.
> - Add static attribute for kszphy_suspend().

Applied, thanks.