commit | d9f5efade2cfd729138a7cafb46d01044da40f5e | [log] [tgz] |
---|---|---|
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | Thu Nov 12 13:37:40 2015 +0900 |
committer | Vinod Koul <vinod.koul@intel.com> | Sat Dec 05 13:37:51 2015 +0530 |
tree | 2fae86741445e847c585f22eaeddad165e9dcec6 | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec [diff] |
dmaengine: usb-dmac: fix endless loop in usb_dmac_chan_terminate_all() This patch fixes an issue that list_for_each_entry() in usb_dmac_chan_terminate_all() is possible to cause endless loop because this will move own desc to the desc_freed. So, this driver should use list_for_each_entry_safe() instead of list_for_each_entry(). Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>