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)
commitc14d2bc4709e8d5102a71f222fdd5a2b0c14c669
treed7d88a3db4da42adb172690638a9b6e3fe32fd08
parentc6c732cf9ff0547430a9dedc3fcf6a93f4db54ab
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