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)
commit5e03c33e3d8973e2c10abbf13f8f24779babafeb
treed602a86eba185bd1154615004407bb71a2b3d6a7
parent8865a31e0fd8beb157b99e78cdf1f0241a67bd54
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