ASoC: SOF: Intel: byt: fixup topology filename for BYT-CR
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 10 Dec 2019 00:48:53 +0000 (18:48 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 10 Dec 2019 13:20:08 +0000 (13:20 +0000)
commit2aae447a4c100d2a7b7cae26b1df8b329e730d8b
tree9c22fa3f8e366c0fc638844db83eef4578b45d5d
parentaec3ff99ce4a02d9bbe8b7311136edc69bdb739d
ASoC: SOF: Intel: byt: fixup topology filename for BYT-CR

On Baytrail-CR, SSP0 needs to be used instead of SSP2.  The
substitution is assumed to be done in the topology file.

When Baytrail-CR is detected, add -ssp0 suffix to the topology file
name so that the topology code picks up the correct file.

Tested on Asus T100TAF

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191210004854.16845-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/byt.c