diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2016-03-18 15:24:54 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-04-13 18:06:16 +0200 |
commit | 925a7d045e6f0129bc58ccd4c3a8dcef62486345 (patch) | |
tree | ab275ecdc781f0902ca110aff28b27174d582c20 /drivers/dma/dw/regs.h | |
parent | dmaengine: dw: move residue to a descriptor (diff) | |
download | linux-925a7d045e6f0129bc58ccd4c3a8dcef62486345.tar.xz linux-925a7d045e6f0129bc58ccd4c3a8dcef62486345.zip |
dmaengine: dw: set cdesc to NULL when free cyclic transfers
To be sure we have the cyclic transfers already gone we set cdesc to NULL. It
will prevent the double free.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/dw/regs.h')
0 files changed, 0 insertions, 0 deletions