]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dmaengine: fix enable for high order unmap pools
authorDan Williams <dan.j.williams@intel.com>
Mon, 9 Dec 2013 18:33:16 +0000 (10:33 -0800)
committerDan Williams <dan.j.williams@intel.com>
Mon, 9 Dec 2013 19:16:54 +0000 (11:16 -0800)
commit9e70a236fc69890b80755e3eec432b629c75f4f8
treeb7409545503e2d5f860d9ff4574d39553d0dbb0a
parentcb1f9b1bec4faa20d835633f81db107ef5346d35
dmaengine: fix enable for high order unmap pools

The higher order mempools support raid operations, and we want to
disable them when raid support is not enabled.  Making them conditional
on ASYNC_TX_DMA is not sufficient as other users (specifically dmatest)
will also issue raid operations.  Make raid drivers explicitly request
that the core carry the higher order pools.

Reported-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/Kconfig
drivers/dma/dmaengine.c