]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dma: dw: return DMA_SUCCESS immediately from device_tx_status()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 15 Jul 2013 12:04:40 +0000 (15:04 +0300)
committerVinod Koul <vinod.koul@intel.com>
Mon, 22 Jul 2013 09:13:39 +0000 (14:43 +0530)
commit5eef3a539be4965d7c0f49f26839bd9914a0472b
treeffe3b5dc0e1b83fd5889a2fab2cba01c75b643df
parent6da65e8963a69e706c84117db7869ae6c59ae073
dma: dw: 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>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/core.c