Files
linux-legacy/drivers/usb/host
Sarah Sharp ee003b2497 USB: xhci: Fix scratchpad deallocation.
commit 5294bea40666db5c5d6c336b8e4e55d69fa576ca upstream.

The scratchpad_free() function uses xhci->page_size to free some memory
with pci_free_consistent().  However, the page_size is set to zero before
the call, causing kernel oopses on driver unload.  Call scratchpad_free()
before setting xhci->page_size to zero.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Acked-by: John Youn <John.Youn@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-08 10:21:31 -08:00
..
2009-02-27 14:40:50 -08:00
2009-07-12 15:16:37 -07:00
2009-06-16 14:17:32 +10:00
2009-07-12 12:22:34 -07:00
2008-08-29 09:43:14 +02:00
2009-06-15 21:44:48 -07:00
2009-10-05 09:32:53 -07:00