ALSA: firewire-motu: add helper function to keep isochronous resources
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 17 Jun 2019 08:15:03 +0000 (17:15 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Jun 2019 06:45:28 +0000 (08:45 +0200)
commit8350132e399dacb212c506bea688a40df2101221
tree4e449a37e4e724ee01703687563fcc44c16d4ccd
parentf6341db65a0ad73e0eed10db424958919ce13dc2
ALSA: firewire-motu: add helper function to keep isochronous resources

This commit is a part of preparation to perform allocation/release
of isochronous resources in pcm.hw_params/hw_free callbacks.

This commit adds a helper function to allocate isochronous resources.

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