1.1 --- a/pkg/devices/lib/dma/src/jz4780.cc Sun Feb 11 18:47:06 2024 +0100
1.2 +++ b/pkg/devices/lib/dma/src/jz4780.cc Thu Feb 15 23:15:30 2024 +0100
1.3 @@ -279,9 +279,9 @@
1.4 if (error() || halted())
1.5 return 0;
1.6
1.7 - // Ensure an absence of transaction completed and zero transfer count for this channel.
1.8 + // Ensure a zero transfer count for this channel.
1.9
1.10 - if (completed() || _regs[Dma_transfer_count])
1.11 + if (_regs[Dma_transfer_count])
1.12 return 0;
1.13
1.14 // Disable the channel.
2.1 --- a/pkg/devices/lib/dma/src/x1600.cc Sun Feb 11 18:47:06 2024 +0100
2.2 +++ b/pkg/devices/lib/dma/src/x1600.cc Thu Feb 15 23:15:30 2024 +0100
2.3 @@ -255,9 +255,9 @@
2.4 if (error() || halted())
2.5 return 0;
2.6
2.7 - // Ensure an absence of transaction completed and zero transfer count for this channel.
2.8 + // Ensure a zero transfer count for this channel.
2.9
2.10 - if (completed() || _regs[Dma_transfer_count])
2.11 + if (_regs[Dma_transfer_count])
2.12 return 0;
2.13
2.14 // Disable the channel.