]> 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)
commit2436625d82f8a547d64ff555840e21a765c7c02d
tree4c384e0b5b4fa570770ea04b798f04e40b4c7bd6
parentebedd93d017a579bf02e7af87068c2c0b6446091
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