commit | 12381dc0c764ecd1703adc6d23c869006223dab8 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Jul 15 15:04:40 2013 +0300 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Aug 05 09:32:26 2013 +0530 |
tree | b65a2fce43f6abb948dee0bdb606b18ecaa9297d | |
parent | 3783cef876e0f24e93a11f1a76cc0b3fe7ea8d94 [diff] |
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>