Message ID | 20220722092700.8269-1-cristian.ciocaltea@collabora.com (mailing list archive) |
---|---|
State | Accepted |
Commit | b340128432a2b8849cc34f9653d7c43c83102bbd |
Headers | show |
Series | [v2] ASoC: amd: vangogh: Use non-legacy DAI naming for cs35l41 | expand |
On Fri, 22 Jul 2022 12:27:00 +0300, Cristian Ciocaltea wrote: > Unlike most CODEC drivers, the CS35L41 driver did not have the > non_legacy_dai_naming set, meaning the corresponding DAI has been > traditionally registered using the legacy naming: spi-VLV1776:0x > > The recent migration to the new legacy DAI naming style has implicitly > corrected that behavior and DAI gets now registered via the non-legacy > naming, i.e. cs35l41-pcm. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: amd: vangogh: Use non-legacy DAI naming for cs35l41 commit: b340128432a2b8849cc34f9653d7c43c83102bbd All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
diff --git a/sound/soc/amd/vangogh/acp5x-mach.c b/sound/soc/amd/vangogh/acp5x-mach.c index 727de46860b1..af3737ef9707 100644 --- a/sound/soc/amd/vangogh/acp5x-mach.c +++ b/sound/soc/amd/vangogh/acp5x-mach.c @@ -178,8 +178,7 @@ static int acp5x_cs35l41_hw_params(struct snd_pcm_substream *substream, ret = 0; for (i = 0; i < num_codecs; i++) { codec_dai = asoc_rtd_to_codec(rtd, i); - if ((strcmp(codec_dai->name, "spi-VLV1776:00") == 0) || - (strcmp(codec_dai->name, "spi-VLV1776:01") == 0)) { + if (strcmp(codec_dai->name, "cs35l41-pcm") == 0) { switch (params_rate(params)) { case 48000: bclk_val = 1536000;