On Mon, 25 Jun 2018 00:08:38 +0200
Sebastian Andrzej Siewior <bige...@linutronix.de> wrote:

> Use the _irqsave() variant of the locking primitives.

>       usblp->wcomplete = 1;
>       wake_up(&usblp->wwait);
> -     spin_unlock(&usblp->lock);
> +     spin_unlock_irqrestore(&usblp->lock, flags);

Code is correct, addresses the stated problem, no forgotten parts
found left to fix.

Acked-by: Pete Zaitcev <zait...@redhat.com>

-- P
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to