ALSA: fireface: minor code refactoring to finish streaming session
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 2 Jun 2019 07:12:58 +0000 (16:12 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Jun 2019 09:36:26 +0000 (11:36 +0200)
commitf55e2a897962a55e15cc881ee86ee23f4817dffd
tree8c9463a92d7a711003ff02d743cb583b8bf53f91
parentb88f4d7c3812e3f3f746895cc4475b02c530303e
ALSA: fireface: 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/fireface/ff-stream.c