Commit 8fd5592c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: fix locking bug found by sparse in ehci-sched.c

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 28b96d32
......@@ -908,6 +908,7 @@ itd_urb_transaction (
if (unlikely (0 == itd)) {
iso_sched_free (stream, sched);
spin_unlock_irqrestore (&ehci->lock, flags);
return -ENOMEM;
}
memset (itd, 0, sizeof *itd);
......
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