From 1e9c3eb4e4a9e0f40c8c2d1e08afcf956dc8e5fb Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Fri, 8 Nov 2019 14:32:39 +0800 Subject: [PATCH] ASoC: core: update NAME_SIZE to 64 Sometimes the DAPM widget info is longer than 32. Update NAME_SIZE to 64 to resolve it. Change-Id: Iadcba84c61285ecdbccf4950b83f1d89aca5897b Signed-off-by: Meng Wang --- sound/soc/soc-core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 88978a3036c4..d2dcc9dd76ac 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -43,7 +43,11 @@ #define CREATE_TRACE_POINTS #include +#ifdef CONFIG_AUDIO_QGKI +#define NAME_SIZE 64 +#else #define NAME_SIZE 32 +#endif #ifdef CONFIG_DEBUG_FS struct dentry *snd_soc_debugfs_root;