RE: [PATCH v1] net: phy: micrel: Add specific suspend

2016-08-05 Thread Wenyou.Yang
d.org; Alexandre Belloni <alexandre.belloni@free- > electrons.com>; Nicolas Ferre <nicolas.fe...@atmel.com>; Andrew Lunn > <and...@lunn.ch> > Subject: Re: [PATCH v1] net: phy: micrel: Add specific suspend > > On 03/08/2016 17:21, Wenyou Yang wrote: > > Disable all interrupt

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

2016-08-03 Thread Florian Fainelli
On 03/08/2016 17:21, Wenyou Yang wrote: > Disable all interrupts when suspend, they will be enabled > when resume. Otherwise, the suspend/resume process will be > blocked occasionally. This seems like something fairly generic actually, we could imagine having the core library do something like

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

2016-08-03 Thread Wenyou Yang
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 Acked-by: Nicolas Ferre --- drivers/net/phy/micrel.c | 19 ++-