diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-06-18 16:26:18 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-06-21 12:47:04 +0300 |
commit | b9434540dd8f702c2cf33b82674e027cb779146e (patch) | |
tree | fd766463809b7b53de694f4d230aeac203eaf092 /sound/firewire/digi00x/digi00x-pcm.c | |
parent | eccd895c998549ebb4a80f0ebee13b6a179bd40c (diff) | |
download | linux-b9434540dd8f702c2cf33b82674e027cb779146e.tar.xz |
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-pcm.c')
-rw-r--r-- | sound/firewire/digi00x/digi00x-pcm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/firewire/digi00x/digi00x-pcm.c b/sound/firewire/digi00x/digi00x-pcm.c index 9ed2ebdcf23a..c38fbd6ded9f 100644 --- a/sound/firewire/digi00x/digi00x-pcm.c +++ b/sound/firewire/digi00x/digi00x-pcm.c @@ -189,7 +189,6 @@ static int pcm_hw_free(struct snd_pcm_substream *substream) --dg00x->substreams_counter; snd_dg00x_stream_stop_duplex(dg00x); - snd_dg00x_stream_release_duplex(dg00x); mutex_unlock(&dg00x->mutex); |