]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitff33f2303b0ea8e5ac15af91de8d8538a5d58db1
tree4160cbce65339c8baabca0aefbf5ba79de99188c
parent8ae23ec3ab305b58140462234bddf2257af57bae
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