AC_WCAP_IN_AMP
if (get_wcaps(codec, pin) & AC_WCAP_IN_AMP)
if (adc && (get_wcaps(codec, adc) & AC_WCAP_IN_AMP)) {
if (!(caps & AC_WCAP_IN_AMP))
snd_hda_override_wcaps(codec, 0x1b, get_wcaps(codec, 0x1b) & ~AC_WCAP_IN_AMP);
if (get_wcaps(codec, 0xa) & AC_WCAP_IN_AMP) {
get_wcaps(codec, pin) | AC_WCAP_IN_AMP);
if (wid_caps & AC_WCAP_IN_AMP)
if (wid_caps & AC_WCAP_IN_AMP) {
if (nid != codec->afg && !(snd_hdac_get_wcaps(codec, nid) & AC_WCAP_IN_AMP))