[alsa-devel] [PATCH] hda - add ALC889 quick id for Intel Los Lunas 2 desktop reference board

Takashi Iwai tiwai at suse.de
Wed Dec 21 08:42:22 CET 2011


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


More information about the Alsa-devel mailing list