[alsa-devel] [PATCH 1/1] ALSA: hdspm - Fix PCI ID for PCIe RME MADI cards
Takashi Iwai
tiwai at suse.de
Tue Nov 22 08:35:31 CET 2011
At Mon, 21 Nov 2011 16:15:36 +0100,
Adrian Knoth wrote:
>
> Commit c09403dcc5698abf214329fbbf3cf8dbb5558bea 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: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Applied now to sound git tree. Thanks.
Takashi
>
> diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
> index e760ada..19ee220 100644
> --- a/sound/pci/rme9652/hdspm.c
> +++ b/sound/pci/rme9652/hdspm.c
> @@ -6518,7 +6518,7 @@ static int __devinit snd_hdspm_create(struct snd_card *card,
> hdspm->io_type = AES32;
> hdspm->card_name = "RME AES32";
> hdspm->midiPorts = 2;
> - } else if ((hdspm->firmware_rev == 0xd5) ||
> + } else if ((hdspm->firmware_rev == 0xd2) ||
> ((hdspm->firmware_rev >= 0xc8) &&
> (hdspm->firmware_rev <= 0xcf))) {
> hdspm->io_type = MADI;
> --
> 1.7.7.1
>
More information about the Alsa-devel
mailing list