diff options
author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2015-11-12 13:37:40 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-06-06 16:46:22 +0200 |
commit | 1cab402e6a4379f6dcfdc47f39ab832d909df277 (patch) | |
tree | 78954d96925bc92139c8ea51ef1d68a6ce8271a1 /drivers/iio/buffer | |
parent | ea37818a5410d44b9e269372b917960e0c4dc6ba (diff) |
dmaengine: usb-dmac: fix endless loop in usb_dmac_chan_terminate_all()
commit d9f5efade2cfd729138a7cafb46d01044da40f5e upstream.
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>
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/buffer')
0 files changed, 0 insertions, 0 deletions