]> 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)
commit2a92dca7844ee6ed559ae7ed032a24aaf311f183
treeedddd7da4fb718a3849c912b65691175798bf1ad
parent8edcd666eff2b38940689f9838346d0d797f1294
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: 21fcc5389aba ("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