commit | a4eed138add1018846d17e813560b0c7c0ae8e01 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Jul 06 18:17:04 2007 +0200 |
committer | Jaroslav Kysela <perex@suse.cz> | Fri Jul 20 11:11:46 2007 +0200 |
tree | 8b91f05a7b466829b4aaee1864eb4d47e0e06905 | |
parent | 47a2327eac01fa944ab935fc5bb03c3032b2ec37 [diff] |
[ALSA] hda-codec - Fix number of pin widgets with STAC codecs 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>