From: Denis Joseph Barrow Date: Tue, 25 Nov 2008 08:36:10 +0000 (-0800) Subject: hso: Hook up ->reset_resume X-Git-Tag: v3.12-rc1~16879^2~498 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c8f92aed16dbd1924910f3305f5992a4f29fe2a;p=kernel%2Fkernel-generic.git hso: Hook up ->reset_resume Made usb_drivers reset_resume function point to hso_resume this fixes problems a usb reset is done when the network interface is left idle for a few minutes. Possibly reset_resume should initialise hardware more but this works in the common case. Signed-off-by: Denis Joseph Barrow Signed-off-by: David S. Miller --- diff --git a/drivers/net/usb/hso.c b/drivers/net/usb/hso.c index fd723dc..7fde27e 100644 --- a/drivers/net/usb/hso.c +++ b/drivers/net/usb/hso.c @@ -3277,6 +3277,7 @@ static struct usb_driver hso_driver = { .id_table = hso_ids, .suspend = hso_suspend, .resume = hso_resume, + .reset_resume = hso_resume, .supports_autosuspend = 1, };