Messages in this thread | | | Date | Wed, 20 Nov 2013 00:40:26 -0500 (EST) | Subject | Re: [PATCH 1/1] Workaround for Suspend/Resume issue of AX88772B under ChromeOS | From | David Miller <> |
| |
From: freddy@asix.com.tw Date: Wed, 20 Nov 2013 10:11:36 +0800
> From: Freddy Xin <freddy@asix.com.tw> > > This patch adds a workaroud to solve Suspend/Resume issue that AX88772B turns > off its Ethernet PHY power in the case that REMOTE_WAKEUP feature doesn't > be set when system suspend. In this case, the PHY power will not be turned > on again when system resume, so the HW reset must be added in the resume function. > > Signed-off-by: Freddy Xin <freddy@asix.com.tw> > Tested-by: Grant Grundler <grundler@chromium.org>
Like many similar patches I've seen recently, you cannot do this.
Now the the configuration that software things the PHY has is no longer accurate.
If you absolutely must reset the chip on resume, you have to reprogram the PHY with whatever settings were existed at the time of the suspend.
| |