diff options
-rw-r--r-- | drivers/usb/serial/usb-serial.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 7a1cc1b04979..cbca3402d6cd 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c | |||
@@ -162,6 +162,8 @@ static void destroy_serial(struct kref *kref) | |||
162 | } | 162 | } |
163 | } | 163 | } |
164 | 164 | ||
165 | flush_scheduled_work(); /* port->work */ | ||
166 | |||
165 | usb_put_dev(serial->dev); | 167 | usb_put_dev(serial->dev); |
166 | 168 | ||
167 | /* free up any memory that we allocated */ | 169 | /* free up any memory that we allocated */ |