diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-06-18 22:26:18 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-06-21 11:47:04 +0200 |
commit | b9434540dd8f702c2cf33b82674e027cb779146e (patch) | |
tree | fd766463809b7b53de694f4d230aeac203eaf092 /sound/firewire/digi00x/digi00x-midi.c | |
parent | eccd895c998549ebb4a80f0ebee13b6a179bd40c (diff) |
ALSA: firewire-digi00x: 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/digi00x/digi00x-midi.c')
-rw-r--r-- | sound/firewire/digi00x/digi00x-midi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/firewire/digi00x/digi00x-midi.c b/sound/firewire/digi00x/digi00x-midi.c index cca888cce0d3..ca06ad318ed6 100644 --- a/sound/firewire/digi00x/digi00x-midi.c +++ b/sound/firewire/digi00x/digi00x-midi.c @@ -37,7 +37,6 @@ static int midi_close(struct snd_rawmidi_substream *substream) mutex_lock(&dg00x->mutex); --dg00x->substreams_counter; snd_dg00x_stream_stop_duplex(dg00x); - snd_dg00x_stream_release_duplex(dg00x); mutex_unlock(&dg00x->mutex); snd_dg00x_stream_lock_release(dg00x); |