diff options
author | Yajun Deng <[email protected]> | 2023-08-15 14:11:51 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2023-08-21 18:38:19 +0530 |
commit | f4f84fb632b30580f11133fb81372338da2229f5 (patch) | |
tree | ca441fbc65c551798a0f7f062b095c1ef2f8a637 /tools/perf/util/c++/clang.cpp | |
parent | 81ebed8aa2c213939a4670f508031a57d4ecbb70 (diff) |
dmaengine: ioat: fixing the wrong dma_dev->chancnt
The chancnt would be updated in __dma_async_device_channel_register(),
but it was assigned in ioat_enumerate_channels(). Therefore chancnt has
the wrong value.
Add chancnt member to the struct ioatdma_device, ioat_dma->chancnt
is used in ioat, dma_dev->chancnt is used in dmaengine.
Signed-off-by: Yajun Deng <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions