Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1533071 > unrolled thread
| Started by | "ASIX_Allan [Office]" <allan@asix.com.tw> |
|---|---|
| First post | 2016-11-30 09:50 +0100 |
| Last post | 2016-12-01 20:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] net: asix: Fix AX88772_suspend() USB vendor commands failure issues "ASIX_Allan [Office]" <allan@asix.com.tw> - 2016-11-30 09:50 +0100
Re: [PATCH] net: asix: Fix AX88772_suspend() USB vendor commands failure issues David Miller <davem@davemloft.net> - 2016-12-01 20:40 +0100
| From | "ASIX_Allan [Office]" <allan@asix.com.tw> |
|---|---|
| Date | 2016-11-30 09:50 +0100 |
| Subject | [PATCH] net: asix: Fix AX88772_suspend() USB vendor commands failure issues |
| Message-ID | <sJ8Kt-3Ns-15@gated-at.bofh.it> |
The change fixes AX88772_suspend() USB vendor commands failure issues. Signed-off-by: Allan Chou <allan@asix.com.tw> Tested-by: Allan Chou <allan@asix.com.tw> Tested-by: Jon Hunter <jonathanh@nvidia.com> --- --- a/drivers/net/usb/asix_devices.c 2016-11-28 05:08:04.000000000 +0800 +++ b/drivers/net/usb/asix_devices.c 2016-11-30 09:31:54.000000000 +0800 @@ -603,12 +603,12 @@ static void ax88772_suspend(struct usbne u16 medium; /* Stop MAC operation */ - medium = asix_read_medium_status(dev, 0); + medium = asix_read_medium_status(dev, 1); medium &= ~AX_MEDIUM_RE; - asix_write_medium_mode(dev, medium, 0); + asix_write_medium_mode(dev, medium, 1); netdev_dbg(dev->net, "ax88772_suspend: medium=0x%04x\n", - asix_read_medium_status(dev, 0)); + asix_read_medium_status(dev, 1)); /* Preserve BMCR for restoring */ priv->presvd_phy_bmcr =
[toc] | [next] | [standalone]
| From | David Miller <davem@davemloft.net> |
|---|---|
| Date | 2016-12-01 20:40 +0100 |
| Subject | Re: [PATCH] net: asix: Fix AX88772_suspend() USB vendor commands failure issues |
| Message-ID | <sJFn3-D4-7@gated-at.bofh.it> |
| In reply to | #1533071 |
From: "ASIX_Allan [Office]" <allan@asix.com.tw> Date: Wed, 30 Nov 2016 16:29:08 +0800 > The change fixes AX88772_suspend() USB vendor commands failure issues. > > Signed-off-by: Allan Chou <allan@asix.com.tw> > Tested-by: Allan Chou <allan@asix.com.tw> > Tested-by: Jon Hunter <jonathanh@nvidia.com> Patch applied, thanks.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web