aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>2011-07-28 21:11:04 -0400
committerTakashi Iwai <tiwai@suse.de>2011-07-29 01:41:30 -0400
commit5f8b4d53d7efe00ecb7d96c8cc0b4a44e130f174 (patch)
treee37912a5f57481bd0a6dcde137b93e540cf0c24a /sound
parentd12c51d8299667464e31d545acc4ebb7031d024c (diff)
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: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/rme9652/hdspm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index 88ae27431cb2..6edc67ced905 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -521,6 +521,7 @@ MODULE_SUPPORTED_DEVICE("{{RME HDSPM-MADI}}");
521#define HDSPM_DMA_AREA_KILOBYTES (HDSPM_DMA_AREA_BYTES/1024) 521#define HDSPM_DMA_AREA_KILOBYTES (HDSPM_DMA_AREA_BYTES/1024)
522 522
523/* revisions >= 230 indicate AES32 card */ 523/* revisions >= 230 indicate AES32 card */
524#define HDSPM_MADI_ANCIENT_REV 204
524#define HDSPM_MADI_OLD_REV 207 525#define HDSPM_MADI_OLD_REV 207
525#define HDSPM_MADI_REV 210 526#define HDSPM_MADI_REV 210
526#define HDSPM_RAYDAT_REV 211 527#define HDSPM_RAYDAT_REV 211
@@ -6484,6 +6485,7 @@ static int __devinit snd_hdspm_create(struct snd_card *card,
6484 switch (hdspm->firmware_rev) { 6485 switch (hdspm->firmware_rev) {
6485 case HDSPM_MADI_REV: 6486 case HDSPM_MADI_REV:
6486 case HDSPM_MADI_OLD_REV: 6487 case HDSPM_MADI_OLD_REV:
6488 case HDSPM_MADI_ANCIENT_REV:
6487 hdspm->io_type = MADI; 6489 hdspm->io_type = MADI;
6488 hdspm->card_name = "RME MADI"; 6490 hdspm->card_name = "RME MADI";
6489 hdspm->midiPorts = 3; 6491 hdspm->midiPorts = 3;