]> asedeno.scripts.mit.edu Git - linux.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)
commit054d65004c6a008dfefbdae4fc1b46a3ad4e94c1
treef6d222fd2bbfb017061eadaa5b0b3013b7574e04
parent68c907f10cd816cad2287167a1a1d77914a6d466
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