OSDN Git Service

ASoC: core: remove artificial component and DAI name constraint
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 27 Aug 2020 20:51:00 +0000 (23:51 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 28 Aug 2020 14:49:41 +0000 (15:49 +0100)
commit45dd9943fce08f1b38352ff9453682253bdf19b7
treed459b45d5ceb09e632709644d63f9b49ea76b2c5
parent4b15c49719452311cfc52921948324b5453508bf
ASoC: core: remove artificial component and DAI name constraint

Current fmt_single_name code limits maximum name of a DAI or component
to 32 bytes. On some systems corresponding device names might be longer
than that (e.g.
17300000.remoteproc:glink-edge:apr:apr-service@8:routing). This will
result in duplicate DAI/component names. Rewrite fmt_single_name() to
remove such length limitations.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20200827205100.1479331-1-dmitry.baryshkov@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c