From: Takashi Iwai Subject: Re: [PATCH 1/1] ALSA: hdspm - Fix PCI ID for PCIe RME MADI cards Date: Tue, 22 Nov 2011 08:35:31 +0100 Message-ID: References: <20111121140221.GY10381@ltw.loris.tv> <1321888536-30937-1-git-send-email-adi@drcomp.erfurt.thur.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id A1B5110394A for ; Tue, 22 Nov 2011 08:35:33 +0100 (CET) In-Reply-To: <1321888536-30937-1-git-send-email-adi@drcomp.erfurt.thur.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Adrian Knoth Cc: robert.steffens@iosono-sound.com, alsa-devel@alsa-project.org, andre.schramm@iosono-sound.com List-Id: alsa-devel@alsa-project.org 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 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 >