UPSTREAM: dmaengine: core: Skip mask matching when it is not provided to private_cand...
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 14 Dec 2015 20:47:38 +0000 (22:47 +0200)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 5 Jul 2016 06:29:36 +0000 (14:29 +0800)
commit449ee854628fd71f0945dfd4ad28d80e937e7a64
tree9c83769280ed325985a79dc6da6818824867474f
parentfafa1ff1e6d9f29f270371c7290a6c72ce64cf17
UPSTREAM: 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.

Change-Id: Iee44026c8d43493e4e73d8d483545267dc2e08a7
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>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
(cherry picked from git.kernel.org next/linux-next.git master
 commit 26b64256e0c4573f3668ac8329a1266ebb9d6120)
drivers/dma/dmaengine.c