diff options
-rw-r--r-- | drivers/usb/host/xhci-mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 732580c6cbea..b8fd270a8b0d 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c | |||
@@ -843,9 +843,9 @@ void xhci_mem_cleanup(struct xhci_hcd *xhci) | |||
843 | xhci->dcbaa, xhci->dcbaa->dma); | 843 | xhci->dcbaa, xhci->dcbaa->dma); |
844 | xhci->dcbaa = NULL; | 844 | xhci->dcbaa = NULL; |
845 | 845 | ||
846 | scratchpad_free(xhci); | ||
846 | xhci->page_size = 0; | 847 | xhci->page_size = 0; |
847 | xhci->page_shift = 0; | 848 | xhci->page_shift = 0; |
848 | scratchpad_free(xhci); | ||
849 | } | 849 | } |
850 | 850 | ||
851 | int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) | 851 | int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) |