aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-02-09 17:59:23 +0000
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2018-02-13 16:12:51 +0000
commitb91fa95c38912dd8a9f56ebdb9b59449252798ef (patch)
tree4c29b1f9163c201f14af54f87b7e3f3a37dc5874
parent7271e6d109e311a7bd00d68691e6ea8834065d5e (diff)
ASoC: core Increase name size from 32 to 64
Size of the device name partly depends on how deep is in device tree nest. If we have multiple sound dais under these depth, truncating the device name to 32 would result in same names for multiple components, which inturn would fail to create debugfs directories. Origially encountered during testing qcom dsp based audio. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 96c44f6576c95..bbae1283ac8d3 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -48,7 +48,7 @@
#define CREATE_TRACE_POINTS
#include <trace/events/asoc.h>
-#define NAME_SIZE 32
+#define NAME_SIZE 64
#ifdef CONFIG_DEBUG_FS
struct dentry *snd_soc_debugfs_root;