]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: codec2codec: name link using stream direction
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 25 Jul 2019 16:59:45 +0000 (18:59 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 25 Jul 2019 17:42:34 +0000 (18:42 +0100)
commit400e06faddf8b214821d45bba215038aec049a8c
treef6d222fd2bbfb017061eadaa5b0b3013b7574e04
parent19b48f1cc7532c2709b1471e6817f622999ba153
ASoC: codec2codec: name link using stream direction

At the moment, codec to codec dai link widgets are named after the
cpu dai and the 1st codec valid on the link. This might be confusing
if there is multiple valid codecs on the link for one stream
direction.

Instead, use the dai link name and the stream direction to name the
the dai link widget

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20190725165949.29699-3-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c