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>
This commit is contained in:
parent
dfb6ec7ae5
commit
149f775759
|
@ -197,7 +197,7 @@ static struct snd_soc_dai_link dailink[] = {
|
|||
/* back ends */
|
||||
{
|
||||
.name = "SSP2-Codec",
|
||||
.id = 1,
|
||||
.id = 0,
|
||||
.cpu_dai_name = "ssp2-port",
|
||||
.platform_name = "sst-mfld-platform",
|
||||
.no_pcm = 1,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -145,7 +145,7 @@ static struct snd_soc_dai_link dais[] = {
|
|||
/* back ends */
|
||||
{
|
||||
.name = "SSP2-LowSpeed Connector",
|
||||
.id = 1,
|
||||
.id = 0,
|
||||
.cpu_dai_name = "ssp2-port",
|
||||
.platform_name = "sst-mfld-platform",
|
||||
.no_pcm = 1,
|
||||
|
|
|
@ -690,7 +690,7 @@ static struct snd_soc_dai_link byt_rt5640_dais[] = {
|
|||
/* back ends */
|
||||
{
|
||||
.name = "SSP2-Codec",
|
||||
.id = 1,
|
||||
.id = 0,
|
||||
.cpu_dai_name = "ssp2-port", /* overwritten for ssp0 routing */
|
||||
.platform_name = "sst-mfld-platform",
|
||||
.no_pcm = 1,
|
||||
|
|
|
@ -401,7 +401,7 @@ static struct snd_soc_dai_link byt_rt5651_dais[] = {
|
|||
/* back ends */
|
||||
{
|
||||
.name = "SSP2-Codec",
|
||||
.id = 1,
|
||||
.id = 0,
|
||||
.cpu_dai_name = "ssp2-port",
|
||||
.platform_name = "sst-mfld-platform",
|
||||
.no_pcm = 1,
|
||||
|
|
|
@ -361,7 +361,7 @@ static struct snd_soc_dai_link cht_dailink[] = {
|
|||
/* back ends */
|
||||
{
|
||||
.name = "SSP2-Codec",
|
||||
.id = 1,
|
||||
.id = 0,
|
||||
.cpu_dai_name = "ssp2-port",
|
||||
.platform_name = "sst-mfld-platform",
|
||||
.no_pcm = 1,
|
||||
|
|
|
@ -457,7 +457,7 @@ static struct snd_soc_dai_link cht_dailink[] = {
|
|||
/* back ends */
|
||||
{
|
||||
.name = "SSP2-Codec",
|
||||
.id = 1,
|
||||
.id = 0,
|
||||
.cpu_dai_name = "ssp2-port",
|
||||
.platform_name = "sst-mfld-platform",
|
||||
.no_pcm = 1,
|
||||
|
|
|
@ -315,7 +315,7 @@ static struct snd_soc_dai_link cht_dailink[] = {
|
|||
{
|
||||
/* SSP2 - Codec */
|
||||
.name = "SSP2-Codec",
|
||||
.id = 1,
|
||||
.id = 0,
|
||||
.cpu_dai_name = "ssp2-port",
|
||||
.platform_name = "sst-mfld-platform",
|
||||
.no_pcm = 1,
|
||||
|
|
Loading…
Reference in New Issue