Commit 760e8e93 authored by Duncan Sands's avatar Duncan Sands Committed by Greg Kroah-Hartman

[PATCH] USB: kill speedtouch tasklet when shutdown

  speedtouch: kill receive queue tasklet on shutdown (race pointed
out by Oliver Neukum).
parent 0d8e6bb9
...@@ -775,6 +775,8 @@ static int udsl_usb_data_exit (struct udsl_instance_data *instance) ...@@ -775,6 +775,8 @@ static int udsl_usb_data_exit (struct udsl_instance_data *instance)
ctx->skb = NULL; ctx->skb = NULL;
} }
tasklet_kill (&instance->recvqueue_tasklet);
for (i = 0; i < UDSL_NUMBER_SND_URBS; i++) { for (i = 0; i < UDSL_NUMBER_SND_URBS; i++) {
struct udsl_usb_send_data_context *ctx = &(instance->send_ctx[i]); struct udsl_usb_send_data_context *ctx = &(instance->send_ctx[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment