]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: UHCI: don't allocate frame list atomically
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Thu, 3 Jul 2014 18:37:42 +0000 (21:37 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 23:16:07 +0000 (16:16 -0700)
commitf589b3e0408ccebfac98f6c2eb38d445a9423e7c
tree1a2be39ef7fdfa0463d7ca55ce87ac3ce8f4c2cd
parent47c6ae7cdc4dc0c72686cca1819c7368bef2e1bf
USB: UHCI: don't allocate frame list atomically

uhci_start() is executed one time during usb_add_hcd() call and by
default UHCI frame list is allocated from atomic DMA pool.

Do non-atomic allocation of uhci->frame 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/uhci-hcd.c