commit | 0be2136b67067617b36c70e525d7534108361e36 | [log] [tgz] |
---|---|---|
author | Ludovic Desroches <ludovic.desroches@atmel.com> | Tue Sep 15 15:39:11 2015 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Thu Oct 01 07:29:49 2015 +0530 |
tree | f6d2c9fd2dcbf65a2a53aaac33d7949602ccb777 | |
parent | a1cf09031e641d3cceaca4a4dd20ef6a785bc9b3 [diff] |
dmaengine: at_xdmac: clean used descriptor When putting back a descriptor to the free descs list, some fields are not set to 0, it can cause bugs if someone uses it without having this in mind. Descriptor are not put back one by one so it is easier to clean descriptors when we request them. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Cc: stable@vger.kernel.org #4.2 Signed-off-by: Vinod Koul <vinod.koul@intel.com>