USB: OHCI: don't allocate HCCA atomically
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Thu, 3 Jul 2014 18:37:41 +0000 (21:37 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 23:16:07 +0000 (16:16 -0700)
commit4428524d8d01afae18844e73f330d2e8431f312e
treef30442d9962f8e3531a860b418b88d8992d7d703
parentf589b3e0408ccebfac98f6c2eb38d445a9423e7c
USB: OHCI: don't allocate HCCA atomically

OHCI HCCA memory region is allocated from atomic DMA pool one time
during usb_add_hcd() and deallocated by usb_remove_hcd().

Do non-atomic allocation of OHCI HCCA and free some space in
coherent atomic DMA pool.

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-hcd.c