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>
Fri, 13 Dec 2013 06:43:42 +0000 (22:43 -0800)
commit3cc377b9ae4bd3133bf8ba388d2b2b66b2b973c1
tree3897c44ab6a8cfc9b37f3a11365a2afc0117e3a1
parent8e5ee258d98a6643227d958361aec2a62559b804
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>
Tested-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