diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-10-30 09:06:43 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-10-30 10:57:56 +0100 |
commit | bd1073728260e1d2f9589c928b6d8ddb14f5646f (patch) | |
tree | 51ac3c83fd62822acb41ff371ae9d0bc8fca5130 /sound/firewire/motu/motu.h | |
parent | ALSA: firewire-motu: minor code refactoring for protocol version 2 (diff) | |
download | linux-bd1073728260e1d2f9589c928b6d8ddb14f5646f.tar.xz linux-bd1073728260e1d2f9589c928b6d8ddb14f5646f.zip |
ALSA: firewire-motu: code refactoring to handle model specific switch for protocol v2
In MOTU FireWire series, devices which support protocol version 2 have
several types of hardware design to process audio data frames for isoc
packet. Roughly devices are categorized into three groups:
- 828mkII
- Traveler/896HD
- UltraLite/8pre FireWire
Some bit flags in register addressed by 0x'ffff'f000'0b14
includes device-specific effects.
This commit cleanups implementation of protocol v2 in this point.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20191030080644.1704-6-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/motu/motu.h')
-rw-r--r-- | sound/firewire/motu/motu.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/firewire/motu/motu.h b/sound/firewire/motu/motu.h index bd782ee4e763..6efbde405a0d 100644 --- a/sound/firewire/motu/motu.h +++ b/sound/firewire/motu/motu.h @@ -130,8 +130,7 @@ struct snd_motu_spec { extern const struct snd_motu_protocol snd_motu_protocol_v2; extern const struct snd_motu_protocol snd_motu_protocol_v3; -extern const struct snd_motu_spec snd_motu_spec_traveler; -extern const struct snd_motu_spec snd_motu_spec_8pre; +extern const struct snd_motu_spec snd_motu_spec_828mk2; int amdtp_motu_init(struct amdtp_stream *s, struct fw_unit *unit, enum amdtp_stream_direction dir, |