diff options
author | Bard Liao <[email protected]> | 2024-02-08 10:55:38 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-02-08 21:23:17 +0000 |
commit | 8266c73126b75eabbebefe7ce489a798e9ef2662 (patch) | |
tree | 2bc4ef923815e003224baa25b3420f5d0863cbaf /net/lapb/lapb_subr.c | |
parent | 7bc6ceba7d354564d6b49d23830fa9d366e8ed31 (diff) |
ASoC: Intel: sof_sdw: add common sdw dai link init
Currently, we set sdw dai link .init callback in the codec_info_list's
dais.init function. This works fine if all codecs in the dai link are
the same. However, we need to do all the .init stuff for all different
codecs in the dai link if not all codecs in the dai link are the same.
Use a common dai link .init callback to call the new rtd_init callback
in sof_sdw_dai_info{} to do rtd_init for each dai.
Some codec init callback will become empty after this change. They will
be removed in the follow up patch.
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