diff options
author | ariff <ariff@FreeBSD.org> | 2005-12-30 01:06:29 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2005-12-30 01:06:29 +0000 |
commit | 5b3ef2780c4353b27976bac6dc55d68e3da132bf (patch) | |
tree | fb9f4580a34ac01311e7d1ef127e60656293ee45 /sys | |
parent | 784566928e9467735c2367c19ca9c2590ab05505 (diff) | |
download | FreeBSD-src-5b3ef2780c4353b27976bac6dc55d68e3da132bf.zip FreeBSD-src-5b3ef2780c4353b27976bac6dc55d68e3da132bf.tar.gz |
Few codec such as Conexant CX20468-21 does have this control
register, although the only usable part is the mute bit.
Noticed by: Hans Petter Selasky <hselasky@c2i.net>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sound/pcm/ac97.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/ac97.c b/sys/dev/sound/pcm/ac97.c index 71a2ed2..8533a0a 100644 --- a/sys/dev/sound/pcm/ac97.c +++ b/sys/dev/sound/pcm/ac97.c @@ -733,6 +733,13 @@ ac97_initmixer(struct ac97_info *codec) #endif codec->mix[i].enable = 1; codec->mix[i].bits = j; + } else if (reg == AC97_MIX_BEEP) { + /* + * Few codec such as CX20468-21 does + * have this control register, although + * the only usable part is the mute bit. + */ + codec->mix[i].enable = 1; } else codec->mix[i].enable = 0; } else |