diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-02-14 11:00:18 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-02-14 20:00:53 +0530 |
commit | 9b562639a1dbef847dfc9daa807bd3e7e02ef24f (patch) | |
tree | ea18c0b5399fbe544bda33047631ce848f3dd83c /drivers/dma/ppc4xx | |
parent | 4168d0d9d304f184f786b1f00750557b8e09453c (diff) | |
download | blackbird-op-linux-9b562639a1dbef847dfc9daa807bd3e7e02ef24f.tar.gz blackbird-op-linux-9b562639a1dbef847dfc9daa807bd3e7e02ef24f.zip |
dma: coh901318: set residue only if dma is in progress
When status is DMA_SUCCESS the residue should be zero. Otherwise it's a bug.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ppc4xx')
0 files changed, 0 insertions, 0 deletions