]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-motu: add a structure for model-dependent parameters.
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 22 Mar 2017 12:30:13 +0000 (21:30 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 Mar 2017 10:33:21 +0000 (12:33 +0200)
commit4a80e201a5792fc30785969d8d205496d179a532
treed602a86eba185bd1154615004407bb71a2b3d6a7
parent33c3f3f6654d08b2bfacd1e0373ff9ec20315be8
ALSA: firewire-motu: add a structure for model-dependent parameters.

MOTU FireWire series doesn't tell drivers their capabilities, thus
the drivers should have and apply model-dependent parameters to detected
models.

This commit adds a structure to represent such parameters. Capabilities
are represented by enumeration except for the number of analog line
in/out. Identification name also be in the structure because the units has
no registers for this purpose.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/motu/motu.c
sound/firewire/motu/motu.h