]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: dice: code refactoring to keep isochronous resources
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 11 Jun 2019 13:21:15 +0000 (22:21 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jun 2019 14:02:08 +0000 (16:02 +0200)
commitdd501d9062b5d148ce534e439355df0da17f2d18
tree4c384e0b5b4fa570770ea04b798f04e40b4c7bd6
parentce3e69af9bab99b5103468f0ed318094b81d9431
ALSA: dice: code refactoring 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,
separated from operations to start packet streaming, I note that some
dice-based devices have two pair of endpoints for isochronous packet
straeming.

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