ALSA: firewire-lib: compute the value of second field in cycle count for IR context
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 9 May 2016 12:12:45 +0000 (21:12 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 May 2016 13:18:25 +0000 (15:18 +0200)
commitf90e2dedf7f47ff4f2f757188a0360fbf526a81e
treea4a83f85eb8c9e14edab2716579afc86796d52df
parent73fc7f080105b16d9f189c82d0092f22107cc67b
ALSA: firewire-lib: compute the value of second field in cycle count for IR context

In callback function of isochronous context, modules can queue packets to
indicated isochronous cycles. Although the cycle to queue a packet is
deterministic by calculation, this module doesn't implement the calculation
because it's useless for processing.

In future, the cycle count is going to be printed with the other parameters
for debugging. This commit is the preparation. The cycle count is computed
by cycle unit, and correctly arranged to corresponding packets. The
calculated count is used in later commit.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c