From: Johan Hovold Date: Mon, 26 May 2014 17:23:12 +0000 (+0200) Subject: USB: option: add missing usb_mark_last_busy X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=496969c64a618579f085a87310bc904eb190a71d;p=openwrt%2Fstaging%2Fblogic.git USB: option: add missing usb_mark_last_busy We should call usb_mark_last_busy in all input paths, including the interrupt completion handler. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 2003a66c4807..df91ea9243df 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1904,6 +1904,7 @@ static void option_instat_callback(struct urb *urb) /* Resubmit urb so we continue receiving IRQ data */ if (status != -ESHUTDOWN && status != -ENOENT) { + usb_mark_last_busy(port->serial->dev); err = usb_submit_urb(urb, GFP_ATOMIC); if (err) dev_dbg(dev, "%s: resubmit intr urb failed. (%d)\n",