]> git.baikalelectronics.ru Git - kernel.git/commit
usb: host: ohci-sm501: init genalloc for local memory
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Wed, 29 May 2019 10:28:41 +0000 (13:28 +0300)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Jun 2019 14:00:07 +0000 (16:00 +0200)
commit7ecc9c8fbfc6f3d34438b0636cd5ad2213aa71fc
treebdb881d094b69acb0fc2232b9fa97f3f2a1b2ece
parent57e3ee6c2078a9d2fbf93b6b6c7af22fe8e92b7e
usb: host: ohci-sm501: 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-sm501.c