diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-07-06 18:17:04 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-07-20 11:11:46 +0200 |
commit | a4eed138add1018846d17e813560b0c7c0ae8e01 (patch) | |
tree | 8b91f05a7b466829b4aaee1864eb4d47e0e06905 /drivers/pnp/interface.c | |
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>
Diffstat (limited to 'drivers/pnp/interface.c')
0 files changed, 0 insertions, 0 deletions