On 02/24/2012 05:35 PM, Takashi Iwai wrote:
Hi,
for 3.4 kernel, finally I got rid of all static quirks from HD-audio Realtek codec parser. This means that the all necessary quirks have been converted to alc_fixup either the pin-config overrides, the additional verbs, or the extra init functions.
Since some machines have really weird pin mappings, I introduced the new mechanism in the parser to evaluate the best DAC->pin connections, which is based on the badness calculation. You won't notice on most of machines but some machines that have fewer DACs than necessary output pins will get different mappings by this change.
The whole changes can be seen in sound git tree topic/hda branch, as usual. git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
Now it's merged to main branch, so the snapshot tarball contains these changes, too.
The rest of the thread will contain the changes in patch_realtek.c. It's just for refernces, and I omitted the other files. For the complete changes, take a look at the git tree.
Hi Takashi,
I think this is a very good move. Unfortunately I don't have time to review all 38 patches thoroughly, but if there is anything in particular you would like a second pair of eyes on, let me know.