commit | 1fded07513ea57b5ee128958ff119e05588b7227 | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@intel.com> | Fri Dec 16 11:01:38 2011 +0200 |
committer | Vinod Koul <vinod.koul@linux.intel.com> | Fri Dec 23 21:50:57 2011 +0530 |
tree | b25d48ee587c5c3a4e8703de89204d51dd459c5b | |
parent | 0ef7e206d6a5a5de0cd84ed4925a4f688c62e732 [diff] |
dmaengine: intel_mid_dma: locking and freeing fixes Two issues are fixed: 1. DMA descriptors are reused so when freeing lli structures that are linked to them, the pointer must be nulled. 2. midc_scan_descriptors() must be called with the channel lock held. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>