Re: [PATCH net] r8152: add reset_resume function

2016-01-04 Thread David Miller
From: Hayes Wang Date: Mon, 4 Jan 2016 14:38:46 +0800 > When the reset_resume() is called, the flag of SELECTIVE_SUSPEND should be > cleared and reinitialize the device, whether the SELECTIVE_SUSPEND is set > or not. If reset_resume() is called, it means the power supply is cut or the > device is

[PATCH net] r8152: add reset_resume function

2016-01-03 Thread Hayes Wang
When the reset_resume() is called, the flag of SELECTIVE_SUSPEND should be cleared and reinitialize the device, whether the SELECTIVE_SUSPEND is set or not. If reset_resume() is called, it means the power supply is cut or the device is reset. That is, the device wouldn't be in runtime suspend state