]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: sof_sdw: add version_id to avoid rt714/rt715 confusion
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 2 Oct 2020 21:19:02 +0000 (16:19 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 5 Oct 2020 13:40:22 +0000 (14:40 +0100)
commitdcaf916bd2c7efdd1ed60ae9378ae74ec8a3ee84
tree3bf9ce50b5350840e1ee907e16f94d22532cb447
parent29bfa95d88b91707dc23bec92cfcb347e8eb02eb
ASoC: Intel: sof_sdw: add version_id to avoid rt714/rt715 confusion

RT715 and RT714 are essentially the same chip. In addition, there are
two versions, one supporting SoundWire 1.1 and one supporting
SoundWire 1.2 (SDCA).

The previous configurations assumed that RT714 was SDCA-only, which
isn't correct. Add support for the 4 possible combinations to avoid
confusions.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Jack Yu <jack.yu@realtek.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20201002211902.287692-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c