diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-10-07 20:05:20 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-10-17 12:02:42 +0200 |
commit | 94c8101a2717a96457b474580e47142a0ef933c9 (patch) | |
tree | 27a22dd4d8bb0f96de033f025275b43a74ae5063 /sound/firewire/dice/dice-midi.c | |
parent | 1d6a722c4a0146ac20fd0daa541a177279adcbb2 (diff) |
ALSA: dice: 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-6-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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/dice/dice-midi.c b/sound/firewire/dice/dice-midi.c index c9e19bddfc09..69c3c06bd7aa 100644 --- a/sound/firewire/dice/dice-midi.c +++ b/sound/firewire/dice/dice-midi.c @@ -17,7 +17,7 @@ static int midi_open(struct snd_rawmidi_substream *substream) mutex_lock(&dice->mutex); - err = snd_dice_stream_reserve_duplex(dice, 0); + err = snd_dice_stream_reserve_duplex(dice, 0, 0); if (err >= 0) { ++dice->substreams_counter; err = snd_dice_stream_start_duplex(dice); |