ALSA: firewire-motu: code refactoring for condition to stop streaming
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 17 Jun 2019 08:15:04 +0000 (17:15 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Jun 2019 06:45:28 +0000 (08:45 +0200)
commitfc49769af4fdba92e8e4f7429e05bb20b0639f90
treec7c0093d397a73fa024a6874bebc2f9b5bb35d8e
parent8350132e399dacb212c506bea688a40df2101221
ALSA: firewire-motu: code refactoring for condition to stop streaming

In snd_motu_stream_start_duplex() function, there're two points to stop
packet streaming, however they can be merged.  This commit merges them.

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