projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] improved TT scheduling for EHCI
[powerpc.git]
/
drivers
/
usb
/
core
/
buffer.c
diff --git
a/drivers/usb/core/buffer.c
b/drivers/usb/core/buffer.c
index
419c994
..
ad742ce
100644
(file)
--- a/
drivers/usb/core/buffer.c
+++ b/
drivers/usb/core/buffer.c
@@
-55,6
+55,9
@@
int hcd_buffer_create (struct usb_hcd *hcd)
char name [16];
int i, size;
+ if (!hcd->self.controller->dma_mask)
+ return 0;
+
for (i = 0; i < HCD_BUFFER_POOLS; i++) {
if (!(size = pool_max [i]))
continue;