diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2015-12-14 23:47:39 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-12-18 08:47:26 +0300 |
commit | 7bd903c5ca47fde5ad52370a47776491813c772e (patch) | |
tree | b0d2d1a9be3a6504a6762938ba10839e02fb2b2b /drivers/dma/edma.c | |
parent | 26b64256e0c4573f3668ac8329a1266ebb9d6120 (diff) | |
download | linux-7bd903c5ca47fde5ad52370a47776491813c772e.tar.xz |
dmaengine: core: Move and merge the code paths using private_candidate
Channel matching with private_candidate() is used in two paths, the error
checking is slightly different in them and they are duplicating code also.
Move the code under find_candidate() to provide consistent execution and
going to allow us to reuse this mode of channel lookup later.
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>
Diffstat (limited to 'drivers/dma/edma.c')
0 files changed, 0 insertions, 0 deletions