]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: dice: code refactoring to stop packet streaming
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 11 Jun 2019 13:21:14 +0000 (22:21 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jun 2019 14:02:07 +0000 (16:02 +0200)
commitebedd93d017a579bf02e7af87068c2c0b6446091
treee30543fd4afba38b360d789fb542105dce5815fd
parenta58a0305a02efcfa6012e8e5730cac2fc7abc5ac
ALSA: dice: code refactoring to stop packet streaming

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

There're three points to finish packet streaming but no helper
functions for common operations for it. This commit adds a helper
function for operations to finish packet streaming.

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