Rather than keeping a single array of CPU dai link components allocate a smaller one for each DAI link, this reduces the amount of state that needs to be passed back and forth in the driver. Charles Keepax (4): ASoC: intel: sof_sdw: Move sdw_pin_index into private struct ASoC: intel: sof_sdw: Add simple DAI link creation helper ASoC: intel: sof_sdw: Make create_sdw_dailink allocate link components ASoC: intel: sof_sdw: Increment be_id in init_dai_link sound/soc/intel/boards/sof_sdw.c | 244 ++++++++++-------------- sound/soc/intel/boards/sof_sdw_common.h | 4 + 2 files changed, 101 insertions(+), 147 deletions(-) -- 2.25.1