diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-10-07 05:38:09 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-10-10 07:41:53 -0400 |
commit | ff33f2303b0ea8e5ac15af91de8d8538a5d58db1 (patch) | |
tree | 4160cbce65339c8baabca0aefbf5ba79de99188c /include/sound/core.h | |
parent | 8ae23ec3ab305b58140462234bddf2257af57bae (diff) |
ALSA: Increase components array size
Increase the card components[] (and thus snd_card_info.components[],
too) array size from 80 to 128 chars so that more strings can be
stored. The 80 chars aren't enough for more than 2 HD-audio codecs,
and this hits an ugly snd_BUG() as reported by Wu Fegguang for HP
2230s.
The control protocol number is increased to 2.0.6 as well, in case
it matters.
Reported-by: Wu Fengguang <wfg@linux.intel.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include/sound/core.h')
-rw-r--r-- | include/sound/core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/core.h b/include/sound/core.h index f52ab6f3ca6e..e5eec5f73502 100644 --- a/include/sound/core.h +++ b/include/sound/core.h | |||
@@ -116,7 +116,7 @@ struct snd_card { | |||
116 | char shortname[32]; /* short name of this soundcard */ | 116 | char shortname[32]; /* short name of this soundcard */ |
117 | char longname[80]; /* name of this soundcard */ | 117 | char longname[80]; /* name of this soundcard */ |
118 | char mixername[80]; /* mixer name */ | 118 | char mixername[80]; /* mixer name */ |
119 | char components[80]; /* card components delimited with | 119 | char components[128]; /* card components delimited with |
120 | space */ | 120 | space */ |
121 | struct module *module; /* top-level module */ | 121 | struct module *module; /* top-level module */ |
122 | 122 | ||