diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/core/buffer.c b/drivers/usb/core/buffer.c index 419c9943a7cb..ad742cec94fa 100644 --- a/drivers/usb/core/buffer.c +++ b/drivers/usb/core/buffer.c | |||
@@ -55,6 +55,9 @@ int hcd_buffer_create (struct usb_hcd *hcd) | |||
55 | char name [16]; | 55 | char name [16]; |
56 | int i, size; | 56 | int i, size; |
57 | 57 | ||
58 | if (!hcd->self.controller->dma_mask) | ||
59 | return 0; | ||
60 | |||
58 | for (i = 0; i < HCD_BUFFER_POOLS; i++) { | 61 | for (i = 0; i < HCD_BUFFER_POOLS; i++) { |
59 | if (!(size = pool_max [i])) | 62 | if (!(size = pool_max [i])) |
60 | continue; | 63 | continue; |