summaryrefslogtreecommitdiffstats
path: root/sound/firewire/tascam/tascam-pcm.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2019-06-18 22:26:15 +0900
committerTakashi Iwai <tiwai@suse.de>2019-06-21 11:46:58 +0200
commit9628fc82f9feedfcb6b9756efb2966c00b3811ef (patch)
treee117cc6cd001846c885638a23fcee5aad0376204 /sound/firewire/tascam/tascam-pcm.c
parent15d472ecc510e20e42337c8205fa3987329e488d (diff)
downloadlinux-9628fc82f9feedfcb6b9756efb2966c00b3811ef.tar.bz2
ALSA: firewire-tascam: 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/tascam/tascam-pcm.c')
-rw-r--r--sound/firewire/tascam/tascam-pcm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/firewire/tascam/tascam-pcm.c b/sound/firewire/tascam/tascam-pcm.c
index 450711bef508..300683a82c68 100644
--- a/sound/firewire/tascam/tascam-pcm.c
+++ b/sound/firewire/tascam/tascam-pcm.c
@@ -118,7 +118,6 @@ static int pcm_hw_free(struct snd_pcm_substream *substream)
--tscm->substreams_counter;
snd_tscm_stream_stop_duplex(tscm);
- snd_tscm_stream_release_duplex(tscm);
mutex_unlock(&tscm->mutex);