Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-29 Thread Jon Hunter
Hi Allan, On 29/11/16 08:54, ASIX_Allan [Office] wrote: > Dear Jon , > > We can reproduce your issue on x86 Linux kernel 4.9.0-rc system in our site > and modified the following code can fix this issue. Please let us know if > you still have problems. Thanks a lot. > > static void

Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-29 Thread Jon Hunter
Hi Allan, On 29/11/16 08:54, ASIX_Allan [Office] wrote: > Dear Jon , > > We can reproduce your issue on x86 Linux kernel 4.9.0-rc system in our site > and modified the following code can fix this issue. Please let us know if > you still have problems. Thanks a lot. > > static void

RE: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-29 Thread ASIX_Allan [Office]
; net...@vger.kernel.org; linux-kernel@vger.kernel.org; vpala...@google.com Subject: Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures Hi Allan, On 18/11/16 15:09, Jon Hunter wrote: > Hi Allan, > > On 14/11/16 09:45, ASIX_Allan [Office] wrote: >> Hi Jon, >> >> Ple

RE: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-29 Thread ASIX_Allan [Office]
; net...@vger.kernel.org; linux-kernel@vger.kernel.org; vpala...@google.com Subject: Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures Hi Allan, On 18/11/16 15:09, Jon Hunter wrote: > Hi Allan, > > On 14/11/16 09:45, ASIX_Allan [Office] wrote: >> Hi Jon, >> >> Ple

Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-22 Thread Jon Hunter
Hi Allan, On 18/11/16 15:09, Jon Hunter wrote: > Hi Allan, > > On 14/11/16 09:45, ASIX_Allan [Office] wrote: >> Hi Jon, >> >> Please help to double check if the USB host controller of your Terga >> platform had been powered OFF while running the ax88772_suspend() routine or >> not? > > Sorry

Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-22 Thread Jon Hunter
Hi Allan, On 18/11/16 15:09, Jon Hunter wrote: > Hi Allan, > > On 14/11/16 09:45, ASIX_Allan [Office] wrote: >> Hi Jon, >> >> Please help to double check if the USB host controller of your Terga >> platform had been powered OFF while running the ax88772_suspend() routine or >> not? > > Sorry

Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-18 Thread Jon Hunter
Hi Allan, On 14/11/16 09:45, ASIX_Allan [Office] wrote: > Hi Jon, > > Please help to double check if the USB host controller of your Terga > platform had been powered OFF while running the ax88772_suspend() routine or > not? Sorry for the delay. Today I set up a local board to reproduce this

Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-18 Thread Jon Hunter
Hi Allan, On 14/11/16 09:45, ASIX_Allan [Office] wrote: > Hi Jon, > > Please help to double check if the USB host controller of your Terga > platform had been powered OFF while running the ax88772_suspend() routine or > not? Sorry for the delay. Today I set up a local board to reproduce this

RE: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-14 Thread ASIX_Allan [Office]
; and...@lunn.ch; trem...@gmail.com; colin.k...@canonical.com; linux-...@vger.kernel.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org; vpala...@google.com Subject: Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures Hi Allan, On 14/11/16 08:50, ASIX_Allan [Home] wrote: > It seems the AX887

RE: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-14 Thread ASIX_Allan [Office]
; and...@lunn.ch; trem...@gmail.com; colin.k...@canonical.com; linux-...@vger.kernel.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org; vpala...@google.com Subject: Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures Hi Allan, On 14/11/16 08:50, ASIX_Allan [Home] wrote: > It seems the AX887

Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-14 Thread Jon Hunter
Hi Allan, On 14/11/16 08:50, ASIX_Allan [Home] wrote: > It seems the AX88772x dongle had been unexpectedly removed while running the > ax88772_suspend() routine. If yes, you might see these error messages > because the hardware had been absent. In my case the hardware was never removed. The

Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-14 Thread Jon Hunter
Hi Allan, On 14/11/16 08:50, ASIX_Allan [Home] wrote: > It seems the AX88772x dongle had been unexpectedly removed while running the > ax88772_suspend() routine. If yes, you might see these error messages > because the hardware had been absent. In my case the hardware was never removed. The

RE: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-14 Thread ASIX_Allan [Home]
...@gmail.com; al...@asix.com.tw; and...@lunn.ch; trem...@gmail.com; colin.k...@canonical.com; linux-...@vger.kernel.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org; vpala...@google.com Subject: Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures Hi Robert, On 29/08/16 14:32, robert.f

RE: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-14 Thread ASIX_Allan [Home]
...@gmail.com; al...@asix.com.tw; and...@lunn.ch; trem...@gmail.com; colin.k...@canonical.com; linux-...@vger.kernel.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org; vpala...@google.com Subject: Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures Hi Robert, On 29/08/16 14:32, robert.f

Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-10 Thread Jon Hunter
Hi Robert, On 29/08/16 14:32, robert.f...@collabora.com wrote: > From: Robert Foss > > From: Allan Chou > > The change fixes AX88772x resume failure by > - Restore incorrect AX88772A PHY registers when resetting > - Need to stop MAC operation when

Re: [PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-11-10 Thread Jon Hunter
Hi Robert, On 29/08/16 14:32, robert.f...@collabora.com wrote: > From: Robert Foss > > From: Allan Chou > > The change fixes AX88772x resume failure by > - Restore incorrect AX88772A PHY registers when resetting > - Need to stop MAC operation when suspending > - Need to restart MII when

[PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-08-29 Thread robert . foss
From: Allan Chou The change fixes AX88772x resume failure by - Restore incorrect AX88772A PHY registers when resetting - Need to stop MAC operation when suspending - Need to restart MII when restoring PHY Signed-off-by: Allan Chou Signed-off-by: Robert

[PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-08-29 Thread robert . foss
From: Allan Chou The change fixes AX88772x resume failure by - Restore incorrect AX88772A PHY registers when resetting - Need to stop MAC operation when suspending - Need to restart MII when restoring PHY Signed-off-by: Allan Chou Signed-off-by: Robert Foss Tested-by: Robert Foss ---

[PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-08-25 Thread robert . foss
From: Allan Chou The change fixes AX88772x resume failure by - Restore incorrect AX88772A PHY registers when resetting - Need to stop MAC operation when suspending - Need to restart MII when restoring PHY Signed-off-by: Allan Chou Signed-off-by: Robert

[PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-08-25 Thread robert . foss
From: Robert Foss From: Allan Chou The change fixes AX88772x resume failure by - Restore incorrect AX88772A PHY registers when resetting - Need to stop MAC operation when suspending - Need to restart MII when restoring PHY Signed-off-by: Allan

[PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-08-25 Thread robert . foss
From: Allan Chou The change fixes AX88772x resume failure by - Restore incorrect AX88772A PHY registers when resetting - Need to stop MAC operation when suspending - Need to restart MII when restoring PHY Signed-off-by: Allan Chou Signed-off-by: Robert Foss Tested-by: Robert Foss ---

[PATCH v3 3/5] net: asix: Fix AX88772x resume failures

2016-08-25 Thread robert . foss
From: Robert Foss From: Allan Chou The change fixes AX88772x resume failure by - Restore incorrect AX88772A PHY registers when resetting - Need to stop MAC operation when suspending - Need to restart MII when restoring PHY Signed-off-by: Allan Chou Signed-off-by: Robert Foss Tested-by: