]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:59 +0000 (14:23 +0200)
commitf62e45cd8930c755ca69ab03f1dfb57aa50bc99a
tree370e7f9150303414ef19a2115af491a54de98216
parenta143019584da8cf8ffb6f31fe2a5e7228c3a3bd7
ASoC: SOF: Intel: match sdw version on link_slaves_found

[ Upstream commit c9a497b26ef9b53f78cbd64df97770bbe3bd8562 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/sof/intel/hda.c