dmaengine: dw: set cdesc to NULL when free cyclic transfers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 18 Mar 2016 14:24:54 +0000 (16:24 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 13 Apr 2016 16:06:16 +0000 (21:36 +0530)
commit925a7d045e6f0129bc58ccd4c3a8dcef62486345
treeab275ecdc781f0902ca110aff28b27174d582c20
parentb68fd0976286e0cc4e163a83b8b68d6efca814dd
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>
drivers/dma/dw/core.c
This page took 0.027132 seconds and 5 git commands to generate.