Fix analog CD connectivity. HP decided to screw pinconfig settings in

their latest Compaq V3000 BIOS (revision F.22). As a result, analog CD
connectivity is gone to the oblivion. Even if they decide to fix it in
future revisions, the damage has been done.
This commit is contained in:
Ariff Abdullah 2007-03-11 15:26:49 +00:00
parent cc249a3fce
commit c0dc2ab241

View File

@ -1784,6 +1784,12 @@ hdac_widget_pin_getconfig(struct hdac_widget *w)
config |= (HDA_CONFIG_DEFAULTCONF_DEVICE_MIC_IN |
HDA_CONFIG_DEFAULTCONF_CONNECTIVITY_FIXED);
break;
case 21:
config &= ~(HDA_CONFIG_DEFAULTCONF_DEVICE_MASK |
HDA_CONFIG_DEFAULTCONF_CONNECTIVITY_MASK);
config |= (HDA_CONFIG_DEFAULTCONF_DEVICE_CD |
HDA_CONFIG_DEFAULTCONF_CONNECTIVITY_FIXED);
break;
default:
break;
}