diff options
author | Johan Hovold <jhovold@gmail.com> | 2014-05-26 13:23:12 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 18:04:05 -0400 |
commit | 496969c64a618579f085a87310bc904eb190a71d (patch) | |
tree | 0b915dfba555a7785090a5ec9a5cf0c93eb08f8b /drivers | |
parent | dd246f2c8c6be36fac10fc42157797429c6fdbb7 (diff) |
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 <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/option.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
1904 | 1904 | ||
1905 | /* Resubmit urb so we continue receiving IRQ data */ | 1905 | /* Resubmit urb so we continue receiving IRQ data */ |
1906 | if (status != -ESHUTDOWN && status != -ENOENT) { | 1906 | if (status != -ESHUTDOWN && status != -ENOENT) { |
1907 | usb_mark_last_busy(port->serial->dev); | ||
1907 | err = usb_submit_urb(urb, GFP_ATOMIC); | 1908 | err = usb_submit_urb(urb, GFP_ATOMIC); |
1908 | if (err) | 1909 | if (err) |
1909 | dev_dbg(dev, "%s: resubmit intr urb failed. (%d)\n", | 1910 | dev_dbg(dev, "%s: resubmit intr urb failed. (%d)\n", |