From: Andy Shevchenko Date: Mon, 15 Jul 2013 12:04:40 +0000 (+0300) Subject: dma: dw: return DMA_SUCCESS immediately from device_tx_status() X-Git-Tag: v3.12-rc1~68^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12381dc0c764ecd1703adc6d23c869006223dab8;p=pandora-kernel.git 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 Acked-by: Viresh Kumar Signed-off-by: Vinod Koul --- Reading git-diff-tree failed