ASoC: Intel: sof_sdw: check SoundWire version when matching codec
authorBard Liao <yung-chuan.liao@linux.intel.com>
Fri, 21 Aug 2020 19:55:55 +0000 (14:55 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 24 Aug 2020 12:41:31 +0000 (13:41 +0100)
commit2e2d287bbe613be4848e83be9aa8e99e8b9f7dc0
tree7c620540b5ee667217f2df0090b1d7525627e6e9
parent65fae64d79d2cbad43819c1ab83390594fac7fcb
ASoC: Intel: sof_sdw: check SoundWire version when matching codec

Some codecs with the same part id but different SoundWire versions
have different configurations. So we have to separate them in
codec_info_list[].

Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.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/20200821195603.215535-9-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c
sound/soc/intel/boards/sof_sdw_common.h