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

2016-08-04 Thread Wenyou.Yang
icolas Ferre ; Andrew Lunn > > Subject: Re: [PATCH v1] net: phy: micrel: Add specific suspend > > 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

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 thi

[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 ++- 1 file changed, 18 insertions(+), 1 deletion(-)