From: Takashi Iwai Subject: Re: [PATCH] ALSA: snd-usb-audio: support for Edirol UA-4FX device Date: Mon, 06 Oct 2008 11:50:24 +0200 Message-ID: References: <12231307783118-git-send-email-pedro.lopez.cabanillas@gmail.com> <48E9B5D5.9080404@ladisch.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 mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 69E89243B9 for ; Mon, 6 Oct 2008 11:50:24 +0200 (CEST) In-Reply-To: <48E9B5D5.9080404@ladisch.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: Clemens Ladisch Cc: Pedro Lopez-Cabanillas , alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Mon, 06 Oct 2008 08:53:09 +0200, Clemens Ladisch wrote: > > Pedro Lopez-Cabanillas wrote: > > Renamed the old quirk function for ua-700/ua-25 to become more > > generic, moving the MIDI interfaces to the quirk data header. > > The MIDI interfaces have to be detected dynamically because in the half- > duplex 96 kHz modes, they have a different interface number. OK, then the MIDI check must be again in uaxx_quirk. I like the style Pedro did, putting the numbers in quirk list rather than hard-coding in quirk routine. But if it can't be done statically, it has to be reversed in the old way... thanks, Takashi