diff options
author | Bard Liao <[email protected]> | 2024-02-08 10:55:31 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-02-08 21:23:09 +0000 |
commit | 4ca5ba58f15ae5a9ad1fa7a5f0d0e50b03b36614 (patch) | |
tree | f3e1c3f4b8a8a7525c766202aea0a64fa7f0c41f /net/lapb/lapb_subr.c | |
parent | 9f3763b3628def09440f1f0405cc127104c31634 (diff) |
ASoC: Intel: add get_codec_dai_by_name helper function
Currently, we assume the codecs in a dai link are all the same.
So that we get codec dai with snd_soc_rtd_to_codec(rtd, 0) in dai_links
->init callback. However, a link can include different codecs.
For example, a 4 speakers link can consist of rt712 and rt1316.
Therefore, we need to select the codec dai by name in the dai link.
Reviewed-by: Rander Wang <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions