]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit304b1d8d9e2ccce4c9c7840db94c8f0feb6f36ec
treea4a83f85eb8c9e14edab2716579afc86796d52df
parentb0e410ab061c012b21e60bdc27ea55812470d089
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