ALSA: firewire-lib: code refactoring for parameters of packet queue and IRQ timing
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 8 May 2020 04:36:29 +0000 (13:36 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 May 2020 07:45:13 +0000 (09:45 +0200)
commitaf86b0b1f4b04501fdd12571ffcaae5853ab8a10
tree972cf1f083408278b739114527b36436b7200c99
parent2472cfb3232caf8f68e4d93ae830c569b0bbc25b
ALSA: firewire-lib: code refactoring for parameters of packet queue and IRQ timing

Although the parameter for packet queue and IRQ timing is calculated when
AMDTP stream starts, the calculated parameters are the same between
streams in AMDTP domain.

This commit moves the calculation and decide the parameters when AMDTP
domain starts.

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