]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: dice: loosen stream format check for MIDI conformant data channel
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 13 Jan 2020 08:46:29 +0000 (17:46 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Jan 2020 09:44:00 +0000 (10:44 +0100)
commit2fe9d4a3cbe7dad92ab89ed83d51b8b1b176f2a2
tree15b3ef3202f3a50de107cfe1ae226dc48f208a28
parente97db4952146dc8db069dfe6ef801a10aab3da75
ALSA: dice: loosen stream format check for MIDI conformant data channel

ALSA dice driver expects devices to multiplex MIDI messages into first
port of isochronous communication. Actually devices perform for it.
However, check of stream format is invalid for second port of isochronous
communication. As a result, when the device supports two ports for
isochronous communication and the stream format is hard-coded, ALSA
dice driver fails to start packet streaming.

This commit loosens stream format check for MIDI conformant data channel.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20200113084630.14305-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/dice/dice-stream.c