diff options
Diffstat (limited to 'patches.renesas/0205-usb-host-xhci-delete-sp_dma_buffers-for-scratchpad.patch')
-rw-r--r-- | patches.renesas/0205-usb-host-xhci-delete-sp_dma_buffers-for-scratchpad.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches.renesas/0205-usb-host-xhci-delete-sp_dma_buffers-for-scratchpad.patch b/patches.renesas/0205-usb-host-xhci-delete-sp_dma_buffers-for-scratchpad.patch index 94e09440b5501a..d84584080ffca1 100644 --- a/patches.renesas/0205-usb-host-xhci-delete-sp_dma_buffers-for-scratchpad.patch +++ b/patches.renesas/0205-usb-host-xhci-delete-sp_dma_buffers-for-scratchpad.patch @@ -18,7 +18,7 @@ Signed-off-by: Simon Horman <horms+renesas@verge.net.au> --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c -@@ -1736,36 +1736,27 @@ static int scratchpad_alloc(struct xhci_ +@@ -1738,36 +1738,27 @@ static int scratchpad_alloc(struct xhci_ if (!xhci->scratchpad->sp_buffers) goto fail_sp3; @@ -58,7 +58,7 @@ Signed-off-by: Simon Horman <horms+renesas@verge.net.au> kfree(xhci->scratchpad->sp_buffers); fail_sp3: -@@ -1795,9 +1786,8 @@ static void scratchpad_free(struct xhci_ +@@ -1797,9 +1788,8 @@ static void scratchpad_free(struct xhci_ for (i = 0; i < num_sp; i++) { dma_free_coherent(dev, xhci->page_size, xhci->scratchpad->sp_buffers[i], @@ -71,7 +71,7 @@ Signed-off-by: Simon Horman <horms+renesas@verge.net.au> xhci->scratchpad->sp_array, --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h -@@ -1606,7 +1606,6 @@ struct xhci_scratchpad { +@@ -1610,7 +1610,6 @@ struct xhci_scratchpad { u64 *sp_array; dma_addr_t sp_dma; void **sp_buffers; |