aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/firewire/digi00x/digi00x-midi.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2019-10-07 20:05:21 +0900
committerTakashi Iwai <tiwai@suse.de>2019-10-17 12:02:42 +0200
commit18b7f18ff694983c69523e8136f9a256596edd59 (patch)
treebcb2cc90bf38b86332654e9a30dc680f09bdc9a2 /sound/firewire/digi00x/digi00x-midi.c
parentALSA: dice: register the size of PCM period to AMDTP domain (diff)
downloadwireguard-linux-18b7f18ff694983c69523e8136f9a256596edd59.tar.xz
wireguard-linux-18b7f18ff694983c69523e8136f9a256596edd59.zip
ALSA: firewire-digi00x: register the size of PCM period to AMDTP domain
This commit is a preparation to share the size of PCM period between PCM substreams on AMDTP streams in the same domain. At this time, the size of PCM period in PCM substream which starts AMDTP streams in the same domain is recorded. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20191007110532.30270-7-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/digi00x/digi00x-midi.c b/sound/firewire/digi00x/digi00x-midi.c
index 2b57ece89101..a407e795d8e7 100644
--- a/sound/firewire/digi00x/digi00x-midi.c
+++ b/sound/firewire/digi00x/digi00x-midi.c
@@ -17,7 +17,7 @@ static int midi_open(struct snd_rawmidi_substream *substream)
return err;
mutex_lock(&dg00x->mutex);
- err = snd_dg00x_stream_reserve_duplex(dg00x, 0);
+ err = snd_dg00x_stream_reserve_duplex(dg00x, 0, 0);
if (err >= 0) {
++dg00x->substreams_counter;
err = snd_dg00x_stream_start_duplex(dg00x);