]> git.karo-electronics.de Git - karo-tx-linux.git/commit
txx9dmac: return DMA_SUCCESS immediately from device_tx_status()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 27 May 2013 12:14:42 +0000 (15:14 +0300)
committerVinod Koul <vinod.koul@intel.com>
Mon, 15 Jul 2013 09:37:01 +0000 (15:07 +0530)
commit5b663632a6ecccfd57a40f420038d7c7140c3961
treef21a1ccf79c26b33e00bf662f78b18c2f9956b0e
parent3fbaa27fdd0db3b127f2f088c27b39a1e28ab505
txx9dmac: return DMA_SUCCESS immediately from device_tx_status()

There is no point to go throught the rest of the function if first call to
dma_cookie_status() returned DMA_SUCCESS.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/txx9dmac.c