fix incorrect ADC list for ALC880.

PR kern/33326 by Uwe Klaus
This commit is contained in:
kent 2006-05-10 11:17:27 +00:00
parent 023ae070ef
commit 856fb95215

View File

@ -1,4 +1,4 @@
/* $NetBSD: azalia_codec.c,v 1.7 2006/01/16 14:28:38 kent Exp $ */
/* $NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: azalia_codec.c,v 1.7 2006/01/16 14:28:38 kent Exp $");
__KERNEL_RCSID(0, "$NetBSD: azalia_codec.c,v 1.8 2006/05/10 11:17:27 kent Exp $");
#include <sys/null.h>
#include <sys/systm.h>
@ -344,11 +344,10 @@ alc880_init_dacgroup(codec_t *this)
this->dacgroups[0] = dacs[0];
this->dacgroups[1] = dacs[1];
this->nadcs = 4;
this->adcs[0] = 0x07;
this->adcs[1] = 0x08;
this->adcs[2] = 0x09;
this->adcs[3] = 0x0a; /* digital */
this->nadcs = 3;
this->adcs[0] = 0x08;
this->adcs[1] = 0x09;
this->adcs[2] = 0x0a; /* digital */
return 0;
}
@ -417,7 +416,7 @@ alc882_init_widget(const codec_t *this, widget_t *w, nid_t nid)
}
/* ----------------------------------------------------------------
* Analog Device AD1981HD
* Analog Devices AD1981HD
* ---------------------------------------------------------------- */
static int