summaryrefslogtreecommitdiff
path: root/drivers/usb/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/baseband_usb_chr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/serial/baseband_usb_chr.c b/drivers/usb/serial/baseband_usb_chr.c
index c4eda3fe1ab7..558cbd9b3147 100644
--- a/drivers/usb/serial/baseband_usb_chr.c
+++ b/drivers/usb/serial/baseband_usb_chr.c
@@ -965,8 +965,8 @@ static void baseband_usb_close(struct baseband_usb *usb)
}
if (usb->ipc) {
- flush_work_sync(&usb->ipc->work);
- flush_work_sync(&usb->ipc->rx_work);
+ flush_work(&usb->ipc->work);
+ flush_work(&usb->ipc->rx_work);
}