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
usb: host: xhci-mem: allocate zeroed Scratchpad Buffer
[pandora-kernel.git]
/
drivers
/
usb
/
host
/
xhci-mem.c
diff --git
a/drivers/usb/host/xhci-mem.c
b/drivers/usb/host/xhci-mem.c
index
337b866
..
841eb68
100644
(file)
--- a/
drivers/usb/host/xhci-mem.c
+++ b/
drivers/usb/host/xhci-mem.c
@@
-1591,7
+1591,7
@@
static int scratchpad_alloc(struct xhci_hcd *xhci, gfp_t flags)
if (!xhci->scratchpad)
goto fail_sp;
- xhci->scratchpad->sp_array = dma_alloc_coherent(dev,
+ xhci->scratchpad->sp_array = dma_
z
alloc_coherent(dev,
num_sp * sizeof(u64),
&xhci->scratchpad->sp_dma, flags);
if (!xhci->scratchpad->sp_array)