to enable both headphone and headset, you need to test whether headset and headphone can share volume control by prefered_dacs, this force driver assigned DACs to speaker and bass speaker first
static hda_nid_t preferred_pair[] = { + 0x14, 0x02, + 0x1a, 0x03, + 0x15, 0x04, + 0x16, 0x04, + 0 + };
+ spec->gen.preferred_dacs = preferred_pair;
to enable both headphone and headset, you need to test whether headset and headphone can share volume control by prefered_dacs, this force driver assigned DACs to speaker and bass speaker first
static hda_nid_t preferred_pair[] = {
+ 0x14, 0x02,
+ 0x1a, 0x03,
+ 0x15, 0x04,
+ 0x16, 0x04,
+ 0
+ };
+ spec->gen. preferred_ dacs = preferred_pair;