]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: audio-graph: Support empty Codec endpoint
authorSameer Pujar <spujar@nvidia.com>
Mon, 2 Nov 2020 15:10:12 +0000 (20:40 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 10 Nov 2020 17:28:21 +0000 (17:28 +0000)
commit6fe62826e6dfe4dd5a09d39c3107eb1e9b07a726
tree2edcc355575cbc091ea7df9e2eff0c8eb1bf823a
parent3ca94a31403e8f30536536c944440944753f07f6
ASoC: audio-graph: Support empty Codec endpoint

For open platforms, which can support pluggable audio cards, Codec
endpoint is not fixed always. It actually depends on the compatible
HW module that is going to be connected. From SoC side the given I/O
interface is always available. Hence such links have fixed CPU endpoint
but no Codec endpoint. This patch helps to support such links where
user can populate Codec endpoint only and its fields in Platform DT
depending on the plugged HW.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/1604329814-24779-6-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-card.c