]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: Increase components array size
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Oct 2008 09:38:09 +0000 (11:38 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 10 Oct 2008 11:41:53 +0000 (13:41 +0200)
commitba6a5488c2b5d3bd49b3b22e415ad2d24f96b3c2
tree4160cbce65339c8baabca0aefbf5ba79de99188c
parente99cf188d0cde76e9680a9abecf9b2d6e9aa3a11
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>
include/sound/asound.h
include/sound/core.h