* [PATCH v3 1/2] ASoC: rt5514: fix legacy dai naming
@ 2022-11-03 13:25 Jason Montleon
2022-11-03 13:25 ` [PATCH v3 2/2] ASoC: rt5677: " Jason Montleon
0 siblings, 1 reply; 2+ messages in thread
From: Jason Montleon @ 2022-11-03 13:25 UTC (permalink / raw)
To: pierre-louis.bossart
Cc: oder_chiou, alsa-devel, ckeepax, regressions, jmontleo,
cezary.rojewski, 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
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] 2+ messages in thread
* [PATCH v3 2/2] ASoC: rt5677: fix legacy dai naming
2022-11-03 13:25 [PATCH v3 1/2] ASoC: rt5514: fix legacy dai naming Jason Montleon
@ 2022-11-03 13:25 ` Jason Montleon
0 siblings, 0 replies; 2+ messages in thread
From: Jason Montleon @ 2022-11-03 13:25 UTC (permalink / raw)
To: pierre-louis.bossart
Cc: oder_chiou, alsa-devel, ckeepax, regressions, jmontleo,
cezary.rojewski, tiwai, broonie
Starting with 6.0-rc1 the CPU DAI is not registered and the sound
card is unavailable. Adding legacy_dai_naming causes it to function
properly again.
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
---
sound/soc/codecs/rt5677-spi.c | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/sound/soc/codecs/rt5677-spi.c b/sound/soc/codecs/rt5677-spi.c
index 8f3993a4c1cc..d25703dd7499 100644
--- a/sound/soc/codecs/rt5677-spi.c
+++ b/sound/soc/codecs/rt5677-spi.c
@@ -396,15 +396,16 @@ static int rt5677_spi_pcm_probe(struct snd_soc_component *component)
}
static const struct snd_soc_component_driver rt5677_spi_dai_component = {
- .name = DRV_NAME,
- .probe = rt5677_spi_pcm_probe,
- .open = rt5677_spi_pcm_open,
- .close = rt5677_spi_pcm_close,
- .hw_params = rt5677_spi_hw_params,
- .hw_free = rt5677_spi_hw_free,
- .prepare = rt5677_spi_prepare,
- .pointer = rt5677_spi_pcm_pointer,
- .pcm_construct = rt5677_spi_pcm_new,
+ .name = DRV_NAME,
+ .probe = rt5677_spi_pcm_probe,
+ .open = rt5677_spi_pcm_open,
+ .close = rt5677_spi_pcm_close,
+ .hw_params = rt5677_spi_hw_params,
+ .hw_free = rt5677_spi_hw_free,
+ .prepare = rt5677_spi_prepare,
+ .pointer = rt5677_spi_pcm_pointer,
+ .pcm_construct = rt5677_spi_pcm_new,
+ .legacy_dai_naming = 1,
};
/* Select a suitable transfer command for the next transfer to ensure
--
2.37.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-04 8:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-03 13:25 [PATCH v3 1/2] ASoC: rt5514: fix legacy dai naming Jason Montleon
2022-11-03 13:25 ` [PATCH v3 2/2] ASoC: rt5677: " Jason Montleon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox