diff options
| author | Peter Ujfalusi <[email protected]> | 2020-08-24 15:01:08 +0300 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2020-08-25 15:53:07 +0530 |
| commit | 33ebffa105990c43bf336cabe26c77384f59fe70 (patch) | |
| tree | 3e709e185b1b4e77b6125d0f1c2c89e675c101a9 /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c | |
| parent | 0661cef675d37e2c4b66a996389ebeae8568e49e (diff) | |
dmaengine: ti: k3-udma: Fix the TR initialization for prep_slave_sg
The TR which needs to be initialized for the next sg entry is indexed by
tr_idx and not by the running i counter.
In case any sub element in the SG needs more than one TR, the code would
corrupt an already configured TR.
Signed-off-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: 6cf668a4ef829 ("dmaengine: ti: k3-udma: Use the TR counter helper for slave_sg and cyclic")
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions