Mark Cave-Ayland 5eb7a23fb2 esp: remove dma_counter from ESPState
The value of dma_counter is set once at the start of the transfer and remains
the same until the transfer is complete. This allows the check in esp_transfer_data
to be simplified since dma_left will always be non-zero until the transfer is
completed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210304221103.6369-13-mark.cave-ayland@ilande.co.uk>
2021-03-07 10:39:05 +00:00
..
2021-01-12 21:19:02 +00:00
2020-10-27 11:10:44 +00:00
2020-12-10 17:16:44 +01:00
2021-02-11 11:50:14 +00:00
2020-09-22 21:11:10 +01:00
2021-01-19 10:20:29 +11:00
2021-02-21 18:41:04 +01:00
2021-02-20 12:36:19 +01:00
2021-02-10 15:42:20 +00:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2021-02-21 12:12:18 +00:00
2020-09-09 09:27:09 -04:00
2020-12-15 12:53:13 -05:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2020-09-18 14:12:32 -04:00
2020-09-09 09:27:09 -04:00
2020-09-09 09:27:09 -04:00
2021-01-22 14:51:35 +01:00
2020-09-09 09:27:09 -04:00