summaryrefslogtreecommitdiffstats
path: root/sound/firewire/motu/motu-pcm.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2019-06-18 15:26:17 +0200
committerTakashi Iwai <tiwai@suse.de>2019-06-21 11:47:02 +0200
commiteccd895c998549ebb4a80f0ebee13b6a179bd40c (patch)
tree914d5573deb2c38e01893405cdd1c7b4da736de4 /sound/firewire/motu/motu-pcm.c
parentALSA: fireface: unify stop and release method for duplex streams (diff)
downloadlinux-eccd895c998549ebb4a80f0ebee13b6a179bd40c.tar.xz
linux-eccd895c998549ebb4a80f0ebee13b6a179bd40c.zip
ALSA: firewire-motu: unify stop and release method for duplex streams
>From callbacks for pcm and rawmidi interfaces, the functions to stop and release duplex streams are called at the same time. This commit merges the two functions. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/motu/motu-pcm.c')
-rw-r--r--sound/firewire/motu/motu-pcm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/firewire/motu/motu-pcm.c b/sound/firewire/motu/motu-pcm.c
index b9852c911b98..60c691d18952 100644
--- a/sound/firewire/motu/motu-pcm.c
+++ b/sound/firewire/motu/motu-pcm.c
@@ -224,7 +224,6 @@ static int pcm_hw_free(struct snd_pcm_substream *substream)
--motu->substreams_counter;
snd_motu_stream_stop_duplex(motu);
- snd_motu_stream_release_duplex(motu);
mutex_unlock(&motu->mutex);