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

David Miller davem at davemloft.net
Tue Aug 9 16:19:56 PDT 2016


From: Wenyou Yang <wenyou.yang at atmel.com>
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 at atmel.com>
> Acked-by: Nicolas Ferre <nicolas.ferre at atmel.com>
> ---
> 
> 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.



More information about the linux-arm-kernel mailing list