summaryrefslogtreecommitdiff
path: root/drivers/memstick/host/rtsx_usb_ms.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/memstick/host/rtsx_usb_ms.c')
-rw-r--r--drivers/memstick/host/rtsx_usb_ms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/memstick/host/rtsx_usb_ms.c b/drivers/memstick/host/rtsx_usb_ms.c
index 6eb892fd4d34..3878136227e4 100644
--- a/drivers/memstick/host/rtsx_usb_ms.c
+++ b/drivers/memstick/host/rtsx_usb_ms.c
@@ -813,6 +813,7 @@ static void rtsx_usb_ms_drv_remove(struct platform_device *pdev)
host->eject = true;
cancel_work_sync(&host->handle_req);
+ cancel_delayed_work_sync(&host->poll_card);
mutex_lock(&host->host_mutex);
if (host->req) {