From: Stephane Desneux Date: Thu, 20 Dec 2018 11:14:03 +0000 (+0000) Subject: kernel/4a: support more than 8 audio cards X-Git-Tag: guppy_6.99.3~10 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F91%2F19191%2F2;p=AGL%2Fmeta-agl.git kernel/4a: support more than 8 audio cards When using Kingfisher + M3ULCB + MOST network devices, it's possible to reach the max number of statically allocated soundcards. This patch enables CONFIG_SND_DYNAMIC_MINORS which allows to declare more than 8 soundcards. Change-Id: Ibe0f75e00c343d7adfcdae0661e893fb39fc4169 Signed-off-by: Stephane Desneux --- diff --git a/meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg b/meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg index aa7fdc86e..1a2010428 100644 --- a/meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg +++ b/meta-agl-bsp/recipes-kernel/linux/linux/4a-sound.cfg @@ -3,3 +3,5 @@ CONFIG_SND=y CONFIG_SND_TIMER=y CONFIG_SND_PCM=y CONFIG_SND_ALOOP=y +CONFIG_SND_DYNAMIC_MINORS=y +CONFIG_SND_MAX_CARDS=32