summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards/bytcht_es8316.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart2017-10-13 01:38:04 +0200
committerMark Brown2017-10-18 13:30:25 +0200
commit149f77575906d7dca1c62ee5a5539b6b7e851f46 (patch)
tree12110c80ab13cca78e1a0a3533c9d6d6953c869a /sound/soc/intel/boards/bytcht_es8316.c
parentASoC: Intel: boards: use helper to get codec_dai (diff)
downloadkernel-qcow2-linux-149f77575906d7dca1c62ee5a5539b6b7e851f46.tar.gz
kernel-qcow2-linux-149f77575906d7dca1c62ee5a5539b6b7e851f46.tar.xz
kernel-qcow2-linux-149f77575906d7dca1c62ee5a5539b6b7e851f46.zip
ASoC: Intel: boards: fix off-by-one dailink id
For some reason the Atom/HiFi2 machine drivers use an id=1 instead of zero as done on all other platforms. This gets in the way of topology-based matching, realign for consistency. This should not have any functional impact on existing solutions with don't rely on topology. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/bytcht_es8316.c')
-rw-r--r--sound/soc/intel/boards/bytcht_es8316.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/bytcht_es8316.c b/sound/soc/intel/boards/bytcht_es8316.c
index 9ed4400c13b8..808e825c3b05 100644
--- a/sound/soc/intel/boards/bytcht_es8316.c
+++ b/sound/soc/intel/boards/bytcht_es8316.c
@@ -209,7 +209,7 @@ static struct snd_soc_dai_link byt_cht_es8316_dais[] = {
* require SSP0 will not work.
*/
.name = "SSP2-Codec",
- .id = 1,
+ .id = 0,
.cpu_dai_name = "ssp2-port",
.platform_name = "sst-mfld-platform",
.no_pcm = 1,