OSDN Git Service

usb: host: ohci-tmio: init genalloc for local memory
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Wed, 29 May 2019 10:28:42 +0000 (13:28 +0300)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Jun 2019 14:00:07 +0000 (16:00 +0200)
commit7d99532955d4649ba1417fb5a80252e0ce40f1e2
tree7d3a1b4edab7568c18800c48ab0b4e47f01ac86b
parent7d9e6f5aebe8c03f1a5199ca5c30f0c53042af23
usb: host: ohci-tmio: init genalloc for local memory

In preparation for dropping the existing "coherent" dma mem declaration
APIs, replace the current dma_declare_coherent_memory() based mechanism
with the creation of a genalloc pool that will be used in the OHCI
subsystem as replacement for the DMA APIs.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/usb/host/ohci-tmio.c