]> git.baikalelectronics.ru Git - kernel.git/commit
dw_dmac: print correct number of scanned descriptors
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 19 Jun 2012 10:34:04 +0000 (13:34 +0300)
committerVinod Koul <vinod.koul@linux.intel.com>
Thu, 21 Jun 2012 02:35:34 +0000 (08:05 +0530)
commitab4f1362162d8996b415dd413321413c7924f2b0
tree57ef5973fdd36c0f13eee61fd35cfdfefd7055f6
parent3b050626a6142f2b7c376450d11caae3e6c5d074
dw_dmac: print correct number of scanned descriptors

In case the first descriptor we found is available, the counter still remains 0
value which is wrong. This patch fixes the counter behaviour.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.linux@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/dw_dmac.c