]> 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)
commit6a25739d461a894e890b2fc269e0020e17bb6b47
treef6d222fd2bbfb017061eadaa5b0b3013b7574e04
parent83290566f764643eb0cb86c37b844dbaec848155
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