ALSA: firewire-lib: code refactoring for cache position in tx packets
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 7 Jan 2023 02:32:13 +0000 (11:32 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sun, 8 Jan 2023 14:00:10 +0000 (15:00 +0100)
commitcccddec49c58785ea6a5752ab749ca2d99488851
treed8564ed43186a57c24d60fd72dec0d730b6753df
parentf2bdee856f20e21416130c392a3ec527079a1226
ALSA: firewire-lib: code refactoring for cache position in tx packets

When sequence replay is enabled for media clock recovery, current
implementation caches sequence descriptors from packet descriptors in tx
packets. Helper function for the purpose do not necessarily have good
readability.

This commit refactors relevant functions by renaming structure members,
function name, and function local variables.

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