ALSA: firewire-tascam: minor code refactoring to finish streaming session
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 2 Jun 2019 07:12:50 +0000 (16:12 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jun 2019 09:36:21 +0000 (11:36 +0200)
commitece92831f0fa49f6b7bab0843c096293eab1b113
tree05adb4e9db608a456b294fe404a2084c21ec4bc3
parenta0c049a647fbf55e8e6338a5c1e9316f6fbeabb2
ALSA: firewire-tascam: minor code refactoring to finish streaming session

The operation to finish packet streaming corresponds to stopping
isochronous contexts.

This commit applies code refactoring to move codes to stop into
a helper function to finish the session.

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