From: Wenyou Yang <wenyou.y...@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.y...@atmel.com> > Acked-by: Nicolas Ferre <nicolas.fe...@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.