Commit 05c7cc9c authored by Adrian Knoth's avatar Adrian Knoth Committed by Takashi Iwai

ALSA: hdspm - Fix PCI ID for PCIe RME MADI cards

Commit c09403dc has introduced a
regression: PCIe versions of RME MADI were no longer detected, because
the MADIface ID (0xd5) was used instead of the correct 0xd2.

This commit fixes the problem.
Signed-off-by: default avatarAdrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 27533df8
...@@ -6518,7 +6518,7 @@ static int __devinit snd_hdspm_create(struct snd_card *card, ...@@ -6518,7 +6518,7 @@ static int __devinit snd_hdspm_create(struct snd_card *card,
hdspm->io_type = AES32; hdspm->io_type = AES32;
hdspm->card_name = "RME AES32"; hdspm->card_name = "RME AES32";
hdspm->midiPorts = 2; hdspm->midiPorts = 2;
} else if ((hdspm->firmware_rev == 0xd5) || } else if ((hdspm->firmware_rev == 0xd2) ||
((hdspm->firmware_rev >= 0xc8) && ((hdspm->firmware_rev >= 0xc8) &&
(hdspm->firmware_rev <= 0xcf))) { (hdspm->firmware_rev <= 0xcf))) {
hdspm->io_type = MADI; hdspm->io_type = MADI;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment