Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 1/2] ASoC: rt5514: fix legacy dai naming
@ 2022-11-03 14:46 Jason Montleon
  2022-11-03 14:46 ` [PATCH v4 2/2] ASoC: rt5677: " Jason Montleon
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jason Montleon @ 2022-11-03 14:46 UTC (permalink / raw)
  To: pierre-louis.bossart
  Cc: oder_chiou, alsa-devel, ckeepax, regressions, jmontleo,
	cezary.rojewski, stable, tiwai, broonie

Starting with 6.0-rc1 these messages are logged and the sound card
is unavailable. Adding legacy_dai_naming to the rt5514-spi causes
it to function properly again.

[   16.928454] kbl_r5514_5663_max kbl_r5514_5663_max: ASoC: CPU DAI
spi-PRP0001:00 not registered
[   16.928561] platform kbl_r5514_5663_max: deferred probe pending

Fixes: fc34ece41f71 ("ASoC: Refactor non_legacy_dai_naming flag")
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=216641
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
---
 sound/soc/codecs/rt5514-spi.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/sound/soc/codecs/rt5514-spi.c b/sound/soc/codecs/rt5514-spi.c
index 1a25a3787935..362663abcb89 100644
--- a/sound/soc/codecs/rt5514-spi.c
+++ b/sound/soc/codecs/rt5514-spi.c
@@ -298,13 +298,14 @@ static int rt5514_spi_pcm_new(struct snd_soc_component *component,
 }
 
 static const struct snd_soc_component_driver rt5514_spi_component = {
-	.name		= DRV_NAME,
-	.probe		= rt5514_spi_pcm_probe,
-	.open		= rt5514_spi_pcm_open,
-	.hw_params	= rt5514_spi_hw_params,
-	.hw_free	= rt5514_spi_hw_free,
-	.pointer	= rt5514_spi_pcm_pointer,
-	.pcm_construct	= rt5514_spi_pcm_new,
+	.name			= DRV_NAME,
+	.probe			= rt5514_spi_pcm_probe,
+	.open			= rt5514_spi_pcm_open,
+	.hw_params		= rt5514_spi_hw_params,
+	.hw_free		= rt5514_spi_hw_free,
+	.pointer		= rt5514_spi_pcm_pointer,
+	.pcm_construct		= rt5514_spi_pcm_new,
+	.legacy_dai_naming	= 1,
 };
 
 /**
-- 
2.37.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-04 14:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-03 14:46 [PATCH v4 1/2] ASoC: rt5514: fix legacy dai naming Jason Montleon
2022-11-03 14:46 ` [PATCH v4 2/2] ASoC: rt5677: " Jason Montleon
2022-11-03 15:07   ` Charles Keepax
2022-11-03 15:06 ` [PATCH v4 1/2] ASoC: rt5514: " Charles Keepax
2022-11-04 14:56 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox