* power up the external amplifier

* after chip reset, reapply power settings
This commit is contained in:
cg 2001-03-23 16:39:01 +00:00
parent 8e5f42ddb8
commit c987c179af

View File

@ -327,9 +327,10 @@ ac97_initmixer(struct ac97_info *codec)
return ENODEV;
}
wrcd(codec, AC97_REG_POWER, 0);
wrcd(codec, AC97_REG_POWER, 0x8000);
wrcd(codec, AC97_REG_RESET, 0);
DELAY(100000);
wrcd(codec, AC97_REG_POWER, 0x8000);
i = rdcd(codec, AC97_REG_RESET);
codec->caps = i & 0x03ff;