diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-06-18 15:26:19 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-06-21 11:47:06 +0200 |
commit | 740680f22d96e078245211b40fc2c141a24c8d1a (patch) | |
tree | be92d5aec275f1548b0fe383f7d4a1f101dd12f5 /sound/firewire/dice/dice-midi.c | |
parent | ALSA: firewire-digi00x: unify stop and release method for duplex streams (diff) | |
download | linux-740680f22d96e078245211b40fc2c141a24c8d1a.tar.xz linux-740680f22d96e078245211b40fc2c141a24c8d1a.zip |
ALSA: dice: 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/dice/dice-midi.c')
-rw-r--r-- | sound/firewire/dice/dice-midi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/firewire/dice/dice-midi.c b/sound/firewire/dice/dice-midi.c index 6172dad87c4e..436f0c3c0fbb 100644 --- a/sound/firewire/dice/dice-midi.c +++ b/sound/firewire/dice/dice-midi.c @@ -40,7 +40,6 @@ static int midi_close(struct snd_rawmidi_substream *substream) --dice->substreams_counter; snd_dice_stream_stop_duplex(dice); - snd_dice_stream_release_duplex(dice); mutex_unlock(&dice->mutex); |