10 Jan
2013
10 Jan
'13
7:48 a.m.
This patch adds the support for the generic auto-parser to AD codec driver. For AD1988, the old code is replaced simply with the new generic parser. For other codecs, new model "auto" is added and directed to use the generic parser.
No fixup codes have been implemented yet as of now. Eventually we'd replace each static quirk with the generic parser + fixup
Do the dac allocation of generic of parser really fit for adi codec since DAC0 of most ad198x codecs is for port-A headphone while the first DAC of realtek is for front line out ?
-static inline hda_nid_t ad1988_idx_to_dac(struct hda_codec *codec, int
idx)
-{
static const hda_nid_t idx_to_dac[8] = {
/* A B C D E F G H */
0x03, 0x06, 0x05, 0x04, 0x0a, 0x06, 0x05, 0x0a
};