diff mbox

reset_resume for cdc-ether

Message ID 200912031102.56903.oliver@neukum.org
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Oliver Neukum Dec. 3, 2009, 10:02 a.m. UTC
Am Donnerstag, 3. Dezember 2009 07:22:54 schrieb David Miller:
> > I'm going to apply this patch and the USB autosuspend one too.
> 
> Actually, neither patch applies to net-next-2.6
> 
> Oliver can you respin your changes and add a proper signoff
> to the autosuspend patch?

Hi,

here's reset_resume() again.

	Regards
		Oliver

Signed-off-by: Oliver Neukum <oliver@neukum.org>

--

commit 0cf82130a576e01d516fcd81a0a6976ab7c49c23
Author: Oliver Neukum <oliver@neukum.org>
Date:   Thu Dec 3 10:59:20 2009 +0100

    cdc-ether:imlement reset_resume()
    
    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>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller Dec. 3, 2009, 10:15 a.m. UTC | #1
From: Oliver Neukum <oliver@neukum.org>
Date: Thu, 3 Dec 2009 11:02:56 +0100

> here's reset_resume() again.

Also doesn't apply.

davem@sunset:~/src/GIT/net-next-2.6$ git apply --check --whitespace=error-all diff
error: patch failed: drivers/net/usb/cdc_ether.c:585
error: drivers/net/usb/cdc_ether.c: patch does not apply
You have new mail in /var/mail/davem
davem@sunset:~/src/GIT/net-next-2.6$ 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index b9493ef..50b8aa9 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -585,6 +585,7 @@  static struct usb_driver cdc_driver = {
 	.disconnect =	usbnet_disconnect,
 	.suspend =	usbnet_suspend,
 	.resume =	usbnet_resume,
+	.reset_resume =	usbnet_resume,
 	.supports_autosuspend = 1,
 };