[ALSA] hda-codec - Fix number of pin widgets with STAC codecs
authorTakashi Iwai <tiwai@suse.de>
Fri, 6 Jul 2007 16:17:04 +0000 (18:17 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 20 Jul 2007 09:11:46 +0000 (11:11 +0200)
Use ARRAY_SIZE() to calculate the number of pin widgets for each codec
chip.
This also fixes a typo in STAC9205 code that gives a wrong number (14
instead of 12), which resulted in fatal communication errors.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

No differences found