diff mbox

reset_resume for cdc-ether

Message ID 200911241159.02098.oliver@neukum.org
State Changes Requested, archived
Delegated to: David Miller
Headers show

Commit Message

Oliver Neukum Nov. 24, 2009, 10:59 a.m. UTC
Hi,

this is quite trivial but might be convenient to many users.

	Regards
		Oliver

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

--

commit 31deb426ccea8faf91f4373c1f12c98bb0d82c73
Author: Oliver Neukum <oliver@neukum.org>
Date:   Tue Nov 24 08:30:41 2009 +0100

    cdc-ether:imlement reset_resume()
    
    Normal resume can do double duty as reset_resume() for this driver

--
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 Nov. 29, 2009, 8:18 a.m. UTC | #1
From: Oliver Neukum <oliver@neukum.org>
Date: Tue, 24 Nov 2009 11:59:02 +0100

> commit 31deb426ccea8faf91f4373c1f12c98bb0d82c73
> Author: Oliver Neukum <oliver@neukum.org>
> Date:   Tue Nov 24 08:30:41 2009 +0100
> 
>     cdc-ether:imlement reset_resume()
>     
>     Normal resume can do double duty as reset_resume() for this driver

David B., ACK, NACK, indifferent?
--
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
David Miller Dec. 3, 2009, 6:16 a.m. UTC | #2
From: Oliver Neukum <oliver@neukum.org>
Date: Tue, 24 Nov 2009 11:59:02 +0100

> Hi,
> 
> this is quite trivial but might be convenient to many users.
> 
> 	Regards
> 		Oliver
> 
> Signed-off-by: Oliver Neukum <oliver@neukum.org>

I'm going to apply this patch and the USB autosuspend one too.

If David B. has some problems with it, we can revert.  But as it
stands these patches have been posted for some time and there's
no reason for them to miss the merge window so I'm adding them
to net-next-2.6

Thanks Oliver.
--
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
David Miller Dec. 3, 2009, 6:22 a.m. UTC | #3
From: David Miller <davem@davemloft.net>
Date: Wed, 02 Dec 2009 22:16:27 -0800 (PST)

> From: Oliver Neukum <oliver@neukum.org>
> Date: Tue, 24 Nov 2009 11:59:02 +0100
> 
>> Hi,
>> 
>> this is quite trivial but might be convenient to many users.
>> 
>> 	Regards
>> 		Oliver
>> 
>> Signed-off-by: Oliver Neukum <oliver@neukum.org>
> 
> 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?

Thanks.
--
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 ed55024..11f73dd 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -617,6 +617,7 @@  static struct usb_driver cdc_driver = {
 	.disconnect =	usbnet_disconnect,
 	.suspend =	usbnet_suspend,
 	.resume =	usbnet_resume,
+	.reset_resume =	usbnet_resume,
 	.supports_autosuspend = 1,
 };