git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'omap-boards' into omap-for-linus
[pandora-kernel.git]
/
drivers
/
usb
/
host
/
oxu210hp-hcd.c
diff --git
a/drivers/usb/host/oxu210hp-hcd.c
b/drivers/usb/host/oxu210hp-hcd.c
index
50f57f4
..
e62b30b
100644
(file)
--- a/
drivers/usb/host/oxu210hp-hcd.c
+++ b/
drivers/usb/host/oxu210hp-hcd.c
@@
-660,13
+660,13
@@
static struct ehci_qh *oxu_qh_alloc(struct oxu_hcd *oxu)
if (qh->dummy == NULL) {
oxu_dbg(oxu, "no dummy td\n");
oxu->qh_used[i] = 0;
-
-
return NULL
;
+ qh = NULL;
+
goto unlock
;
}
oxu->qh_used[i] = 1;
}
-
+unlock:
spin_unlock(&oxu->mem_lock);
return qh;