]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: fireface: support allocate_resources operation in latter protocol
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 2 Jun 2019 07:12:55 +0000 (16:12 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jun 2019 09:36:24 +0000 (11:36 +0200)
commit838253bcddf2f021b51c7d9703f49f045af4502e
tree28983d6ca66795862e384288788e7cbf9ffac82f
parent6b3da91efd42487af18b0b81cb4bf872b5a880f0
ALSA: fireface: support allocate_resources operation in latter protocol

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

This commit implements allocate_resources callback for the protocol
specific to latter models. The encoded values of constant table is
split into several condition statements to separate the operation
to configure sampling transfer frequency from the operation to
configure the number of data channels in rx packet.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireface/ff-protocol-latter.c