]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
r8152: add pre_reset and post_reset
authorhayeswang <hayeswang@realtek.com>
Wed, 29 Jul 2015 12:39:08 +0000 (20:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Jul 2015 21:03:46 +0000 (14:03 -0700)
commite501139a515018f913761d3bf4239313c87e721c
tree75128f8f255b3e4e9d77d2fc2c23466f09fb9e67
parent15f1bb1f1e067be7088ed43ef23d59629bd24348
r8152: add pre_reset and post_reset

Add rtl8152_pre_reset() and rtl8152_post_reset() which are used when
calling usb_reset_device(). The two functions could reduce the time
of reset when calling usb_reset_device() after probe().

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c