mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
only probe mandatory channels on known bad codecs
This commit is contained in:
parent
20cb9f9efe
commit
33c878f034
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66307
@ -341,7 +341,8 @@ ac97_initmixer(struct ac97_info *codec)
|
||||
}
|
||||
|
||||
for (i = 0; i < 32; i++) {
|
||||
if (codec->mix[i].reg > 0) {
|
||||
k = codec->noext? codec->mix[i].enable : 1;
|
||||
if (k && (codec->mix[i].reg > 0)) {
|
||||
old = rdcd(codec, codec->mix[i].reg);
|
||||
wrcd(codec, codec->mix[i].reg, 0x3f);
|
||||
j = rdcd(codec, codec->mix[i].reg);
|
||||
|
Loading…
Reference in New Issue
Block a user