]> git.baikalelectronics.ru Git - kernel.git/commit
usb: don't create dma pools for HCDs with a localmem_pool
authorChristoph Hellwig <hch@lst.de>
Sun, 11 Aug 2019 08:05:15 +0000 (10:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2019 13:17:07 +0000 (15:17 +0200)
commitb884ed17982272f26e5f3514b5886d9b6af0e6f8
treeedddd7da4fb718a3849c912b65691175798bf1ad
parent991f2306e5ceec74c22c04191b4f975d4611e830
usb: don't create dma pools for HCDs with a localmem_pool

If the HCD provides a localmem pool we will never use the DMA pools, so
don't create them.

Fixes: 57e3ee6c2078 ("USB: use genalloc for USB HCs with local memory")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20190811080520.21712-2-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/buffer.c