dmaengine: core: Skip mask matching when it is not provided to private_candidate
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 14 Dec 2015 20:47:38 +0000 (22:47 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 18 Dec 2015 05:47:26 +0000 (11:17 +0530)
commit26b64256e0c4573f3668ac8329a1266ebb9d6120
treebd45bda51107ac454fbe5d5e6f8dbc48e79ee667
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
dmaengine: core: Skip mask matching when it is not provided to private_candidate

If mask is NULL skip the mask matching against the DMA device capabilities.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmaengine.c