* power up the external amplifier

* after chip reset, reapply power settings
This commit is contained in:
Cameron Grant 2001-03-23 16:39:01 +00:00
parent cc74aaddad
commit 715082895a

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;