commit | 83cfb5c50f8e35d795d4260756fb62a2b77ae8df | [log] [tgz] |
---|---|---|
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | Fri May 08 13:36:30 2020 +0900 |
committer | Takashi Iwai <tiwai@suse.de> | Fri May 08 09:45:31 2020 +0200 |
tree | 16b9626842402e7e2e57cf8a2d11453b0f96158c | |
parent | af86b0b1f4b04501fdd12571ffcaae5853ab8a10 [diff] |
ALSA: firewire-lib: code refactoring for syt computation In current implementation for outgoing AMDTP packet, the value of syt field in CIP header is computed when calculating syt offset. For future extension, it's convenient to split the computation and calculation. This commit splits them. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20200508043635.349339-6-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai <tiwai@suse.de>