diff options
author | Mark Brown <broonie@kernel.org> | 2024-08-23 22:45:53 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-23 22:45:53 +0100 |
commit | b42c0ec286c5bd7ec14110a11e27d2f99a154cd3 (patch) | |
tree | 7240261593c7f35334e436cd14938de23faa91c4 /sound/soc/intel/boards/cht_bsw_rt5672.c | |
parent | ca39fab8b7bc6c5a38c48c7bdf2b3c47792af9dd (diff) | |
parent | 839a4ec06f75cec8fec2cc5fc14e921d0c3f7369 (diff) |
ASoC: Merge up fixes
Some of the fixes for the Intel bards overlap with development work that
removed old boards.
Diffstat (limited to 'sound/soc/intel/boards/cht_bsw_rt5672.c')
-rw-r--r-- | sound/soc/intel/boards/cht_bsw_rt5672.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/boards/cht_bsw_rt5672.c b/sound/soc/intel/boards/cht_bsw_rt5672.c index be2d1a8dbca8..d68e5bc755de 100644 --- a/sound/soc/intel/boards/cht_bsw_rt5672.c +++ b/sound/soc/intel/boards/cht_bsw_rt5672.c @@ -466,7 +466,7 @@ static int snd_cht_mc_probe(struct platform_device *pdev) /* find index of codec dai */ for (i = 0; i < ARRAY_SIZE(cht_dailink); i++) { - if (cht_dailink[i].codecs->name && + if (cht_dailink[i].num_codecs && !strcmp(cht_dailink[i].codecs->name, RT5672_I2C_DEFAULT)) { dai_index = i; break; |