Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f8b4d53 authored by Adrian Knoth's avatar Adrian Knoth Committed by Takashi Iwai
Browse files

ALSA: hdspm - Add firmware revision 0xcc for RME MADI



Apparently, there are multiple old firmware revisions in the wild for
the PCI RME MADI cards. Just add them to the list of supported devices
and treat them like their modern counterparts.

Signed-off-by: default avatarAdrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d12c51d8
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -521,6 +521,7 @@ MODULE_SUPPORTED_DEVICE("{{RME HDSPM-MADI}}");
#define HDSPM_DMA_AREA_KILOBYTES (HDSPM_DMA_AREA_BYTES/1024)
#define HDSPM_DMA_AREA_KILOBYTES (HDSPM_DMA_AREA_BYTES/1024)


/* revisions >= 230 indicate AES32 card */
/* revisions >= 230 indicate AES32 card */
#define HDSPM_MADI_ANCIENT_REV	204
#define HDSPM_MADI_OLD_REV	207
#define HDSPM_MADI_OLD_REV	207
#define HDSPM_MADI_REV		210
#define HDSPM_MADI_REV		210
#define HDSPM_RAYDAT_REV	211
#define HDSPM_RAYDAT_REV	211
@@ -6484,6 +6485,7 @@ static int __devinit snd_hdspm_create(struct snd_card *card,
	switch (hdspm->firmware_rev) {
	switch (hdspm->firmware_rev) {
	case HDSPM_MADI_REV:
	case HDSPM_MADI_REV:
	case HDSPM_MADI_OLD_REV:
	case HDSPM_MADI_OLD_REV:
	case HDSPM_MADI_ANCIENT_REV:
		hdspm->io_type = MADI;
		hdspm->io_type = MADI;
		hdspm->card_name = "RME MADI";
		hdspm->card_name = "RME MADI";
		hdspm->midiPorts = 3;
		hdspm->midiPorts = 3;