]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ALSA: oxfw: don't add MIDI/PCM interface when packet streaming is unavailable
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 13 Jan 2020 07:34:17 +0000 (16:34 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Jan 2020 09:42:14 +0000 (10:42 +0100)
commit06a42a74a0e704458754bdc5f29cf62cc1ce4b53
tree7d1a1e0670d2ac9ec5fb5db4da53fd02db676acd
parent03be63b2953c1b33ac77b7c21345495acc47e84b
ALSA: oxfw: don't add MIDI/PCM interface when packet streaming is unavailable

Stanton SCS.1d doesn't support packet streaming even if it has plugs for
isochronous communication.

This commit is a preparation for this case. The 'has_input' member is
added to specific structure, and MIDI/PCM interfaces are not added when
the member is false.

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