diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2015-11-12 13:37:40 +0900 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-12-05 13:37:51 +0530 |
commit | d9f5efade2cfd729138a7cafb46d01044da40f5e (patch) | |
tree | 2fae86741445e847c585f22eaeddad165e9dcec6 /drivers/dma/at_xdmac.c | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) | |
download | op-kernel-dev-d9f5efade2cfd729138a7cafb46d01044da40f5e.zip op-kernel-dev-d9f5efade2cfd729138a7cafb46d01044da40f5e.tar.gz |
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>
Diffstat (limited to 'drivers/dma/at_xdmac.c')
0 files changed, 0 insertions, 0 deletions