]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/usb/c67x00/c67x00-sched.c
tree-wide: use reinit_completion instead of INIT_COMPLETION
[karo-tx-linux.git] / drivers / usb / c67x00 / c67x00-sched.c
index aa491627a45ba83b51a881e0f5b7226a26139933..892cc96466ebbf2d17d744eab9dd2684d7fca902 100644 (file)
@@ -344,7 +344,7 @@ void c67x00_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep)
                /* it could happen that we reinitialize this completion, while
                 * somebody was waiting for that completion.  The timeout and
                 * while loop handle such cases, but this might be improved */
-               INIT_COMPLETION(c67x00->endpoint_disable);
+               reinit_completion(&c67x00->endpoint_disable);
                c67x00_sched_kick(c67x00);
                wait_for_completion_timeout(&c67x00->endpoint_disable, 1 * HZ);