From 5fcb35706cafc36afbc077e410b0075049af31ee Mon Sep 17 00:00:00 2001 From: Oliver Neukum Date: Fri, 18 Mar 2011 12:44:17 +0100 Subject: [PATCH] --- yaml --- r: 242198 b: refs/heads/master c: 97ac01d8f1b8d1c9e5af32c2813ba771835961f9 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/usb/serial/usb_wwan.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index e9d83553085a..c58c5c3bdc41 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: adaa3c6342b249548ea830fe8e02aa5b45be8688 +refs/heads/master: 97ac01d8f1b8d1c9e5af32c2813ba771835961f9 diff --git a/trunk/drivers/usb/serial/usb_wwan.c b/trunk/drivers/usb/serial/usb_wwan.c index a65ddd543869..e4fad5e643d7 100644 --- a/trunk/drivers/usb/serial/usb_wwan.c +++ b/trunk/drivers/usb/serial/usb_wwan.c @@ -698,8 +698,7 @@ static void play_delayed(struct usb_serial_port *port) /* we have to throw away the rest */ do { unbusy_queued_urb(urb, portdata); - //extremely dirty - atomic_dec(&port->serial->interface->dev.power.usage_count); + usb_autopm_put_interface_no_suspend(port->serial->interface); } while ((urb = usb_get_from_anchor(&portdata->delayed))); break; }