From: Takashi Iwai Subject: Re: [PATCH] hda - add ALC889 quick id for Intel Los Lunas 2 desktop reference board Date: Wed, 21 Dec 2011 08:42:22 +0100 Message-ID: References: <20111221022020.GA20195@localhost> <20111221073831.GA15079@localhost> 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 F1EE610394A for ; Wed, 21 Dec 2011 08:42:24 +0100 (CET) In-Reply-To: <20111221073831.GA15079@localhost> 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: Wu Fengguang Cc: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org At Wed, 21 Dec 2011 15:38:31 +0800, Wu Fengguang wrote: > > Takashi, > > With the anticipation we'll be adding lots of pincfg numbers in future: > > + [ALC662_FIXUP_ECS] = { > + .type = ALC_FIXUP_PINS, > + .v.pins = (const struct alc_pincfg[]) { > + { 0x14, 0x99130110 }, /* speaker */ > + { 0x18, 0x01a19820 }, /* mic */ > > These numbers are anything but intuitive. Do you mind me > introduce some macros to make them easier to compose and read? No, please go ahead. It'll be good to have such macros. I was too lazy to write macros, since I understand these raw numbers nowadays ;) Takashi