From: Takashi Iwai Date: Fri, 6 Jul 2007 16:17:04 +0000 (+0200) Subject: [ALSA] hda-codec - Fix number of pin widgets with STAC codecs X-Git-Tag: v2.6.23-rc1~215^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4eed138add1018846d17e813560b0c7c0ae8e01;p=pandora-kernel.git [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 Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed