ASoC: Intel: sof_da7219: use common module for DAI link generation
authorBrent Lu <brent.lu@intel.com>
Mon, 25 Mar 2024 22:10:50 +0000 (17:10 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 25 Mar 2024 22:44:59 +0000 (22:44 +0000)
commita8f408dc8733d83c1cbd0ff238fc90d8b43db1c4
tree43c5e517dcb5ef72c3c032757dea42f4a639a0c7
parent495d5b48d4b54efb4fa9f972f8bb599c780d209e
ASoC: Intel: sof_da7219: use common module for DAI link generation

Use intel_board module to generate DAI link array and update num_links
field in snd_soc_card structure.

Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Brent Lu <brent.lu@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://msgid.link/r/20240325221059.206042-13-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/Kconfig
sound/soc/intel/boards/sof_board_helpers.h
sound/soc/intel/boards/sof_da7219.c