projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7fca0c
)
cdc-ether: Implement reset_resume()
author
Oliver Neukum
<oliver@neukum.org>
Thu, 3 Dec 2009 11:41:07 +0000
(11:41 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 3 Dec 2009 23:20:24 +0000
(15:20 -0800)
Normal resume can do double duty as reset_resume() for this driver
as it keeps no state in the device
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/cdc_ether.c
b/drivers/net/usb/cdc_ether.c
index de3e36596779d960e08d624c8d1dbcae941dda7e..197912d9c04aba73cce65cc66ee074e8a434941b 100644
(file)
--- a/
drivers/net/usb/cdc_ether.c
+++ b/
drivers/net/usb/cdc_ether.c
@@
-618,6
+618,7
@@
static struct usb_driver cdc_driver = {
.disconnect = usbnet_disconnect,
.suspend = usbnet_suspend,
.resume = usbnet_resume,
+ .reset_resume = usbnet_resume,
};