OSDN Git Service

ASoC: SOF: Intel: match sdw version on link_slaves_found
authorBard Liao <yung-chuan.liao@linux.intel.com>
Thu, 20 Jan 2022 23:21:56 +0000 (17:21 -0600)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jan 2022 13:31:43 +0000 (13:31 +0000)
commitf67c0c0d3b9048d86ea6ae52e36a2b78c48f265d
tree94e8e70954da94ae4b3370027e47ff5f8f007063
parent6cbff4b3a10e3ae5d68f71f197d0a0b14ef97711
ASoC: SOF: Intel: match sdw version on link_slaves_found

Codecs with the same part id, manufacturer id and part id, but different
sdw version should be treated as different codecs. For example, rt711 and
rt711-sdca are different. So, we should match sdw version as well.

Reported-by: Reddy Muralidhar <muralidhar.reddy@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220120232157.199919-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c