]> git.baikalelectronics.ru Git - kernel.git/commit
mmp_tdma: set cookies as well when asked for tx status
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 27 May 2013 12:14:41 +0000 (15:14 +0300)
committerVinod Koul <vinod.koul@intel.com>
Mon, 5 Aug 2013 04:02:25 +0000 (09:32 +0530)
commit47caae06df6fcf257019fa8e6672df4bce79399a
treed7d88a3db4da42adb172690638a9b6e3fe32fd08
parent9bda6ca34b70776525e3e267b25a902eb1bd417e
mmp_tdma: set cookies as well when asked for tx status

dma_set_residue() sets only residue value, so user can't rely on the returned
values of cookies. That patch standardize the behaviour.

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