summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/r8152_shield.c
diff options
context:
space:
mode:
authorAly Hirani <ahirani@nvidia.com>2015-02-05 15:37:11 -0500
committerVladislav Zhurba <vzhurba@nvidia.com>2018-02-01 16:58:01 -0500
commit0c5070d8a60089394da57beb364e9379a4476970 (patch)
treea4b555ad448cf950b8ae78b50876bf09bd9e63d7 /drivers/net/usb/r8152_shield.c
parent2d8c32f92fae5783a41d1326f7424247baaaf775 (diff)
net: usb: r8152: disable autosuspend
We've seen some issues with the Tegra XUSB controller resuming from autosuspend. This change disables autosuspend until the XUSB team can understand the issue Bug 1604791 Bug 200091204 Change-Id: I9e7b4b85fe31a1a88e1f9e19d856c52f69dbb1b0 Signed-off-by: Aly Hirani <ahirani@nvidia.com> Reviewed-on: http://git-master/r/681672 (cherry picked from commit fb40b49a54b23e3d592f69170172000d3a08e6b7) Reviewed-on: http://git-master/r/744734 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/net/usb/r8152_shield.c')
-rw-r--r--drivers/net/usb/r8152_shield.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/usb/r8152_shield.c b/drivers/net/usb/r8152_shield.c
index 9d206a230..ad6bfe356 100644
--- a/drivers/net/usb/r8152_shield.c
+++ b/drivers/net/usb/r8152_shield.c
@@ -5834,6 +5834,8 @@ static int rtl8152_probe(struct usb_interface *intf,
5834 tasklet_disable(&tp->tl); 5834 tasklet_disable(&tp->tl);
5835 /* usb_enable_autosuspend(udev); */ 5835 /* usb_enable_autosuspend(udev); */
5836 5836
5837 usb_disable_autosuspend(udev);
5838
5837 netif_info(tp, probe, netdev, "%s\n", DRIVER_VERSION); 5839 netif_info(tp, probe, netdev, "%s\n", DRIVER_VERSION);
5838 netif_info(tp, probe, netdev, "%s\n", PATENTS); 5840 netif_info(tp, probe, netdev, "%s\n", PATENTS);
5839 5841