ALSA: firewire-lib: keep history to process isochronous packet
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 9 Jan 2023 02:17:38 +0000 (11:17 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Jan 2023 16:04:46 +0000 (17:04 +0100)
commitf0117128879be643947411e4794550ce015d7c94
treef794c358f26315df34251b816959ffb374655a8a
parent0cac60c776a6bd15fbadc1c6c5c079b9a0c39634
ALSA: firewire-lib: keep history to process isochronous packet

The history to process isochronous packets is useful when computing gap
between current isochronous cycle and the latest isochronous cycle in
which packet is processed (in IR context) and scheduled (in IT context).

This commit stores the most recent packet descriptors to keep the history.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20230109021738.75543-4-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c
sound/firewire/amdtp-stream.h