]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbebcf5c2abbb14aff98998478481687912e76a2e
treed459b45d5ceb09e632709644d63f9b49ea76b2c5
parenta67dd50fcbb9ee5d97472ceef6fe6b45bd11045f
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