ASoC: Intel: sof_sdw: support different devices on the same sdw link
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 19 Apr 2023 19:55:23 +0000 (14:55 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 20 Apr 2023 11:51:53 +0000 (12:51 +0100)
commitc8db7b50128b8cc61a5ca6e4717cf8158fca302a
treeb00dd6ac172724c54eca72b08e5a0b9b07f95d7d
parent16373f30777f45823fa68e850b230fa2ef9d7e92
ASoC: Intel: sof_sdw: support different devices on the same sdw link

The existing code assumes all devices on the same soundwire link
are the same devices. eg. all rt1316. This commit removes the
assumption and supports different devices on the same soundwire link.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20230419195524.46995-7-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c