ALSA: dice: fix detection of Loud devices
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 14 Nov 2015 07:42:04 +0000 (16:42 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sat, 14 Nov 2015 16:50:57 +0000 (17:50 +0100)
commit5d5563b14fe34021b690eb3edc54abcc876e417c
tree159cb6da3d45c7858ae066b6d73fe38f1775c07b
parent86f799b82f5c011404ddef54600bc5e99b7e0cf2
ALSA: dice: fix detection of Loud devices

Commit a471fcde8c2c ("ALSA: dice: fix detection of Weiss devices") adds
a quirk of Weiss models. According to users' reports, Loud models also
have the similar quirk. They have 0x10 in the category field.

This commit adds support for Mackie Onyx Blackbird and Onyx-i series.
As long as I know, Dice-based models produced by
Focusrite/Alesis/PreSonus/M-Audio/TC Electronic have default value (0x04)
in their category field, thus it may be reasonable to add a condition
statement for Loud models, instead of removing the check of category value.

Reported-by: Rouge Etienne <erouge.externe@m6.fr>
Reported-by: Etilem <contact@etilem.net>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/dice/dice.c