Skip to content

Commit 392cc13

Browse files
jmontleonbroonie
authored andcommitted
ASoC: rt5514: fix legacy dai naming
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: fc34ece ("ASoC: Refactor non_legacy_dai_naming flag") BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=216641 Signed-off-by: Jason Montleon <[email protected]> Acked-by: Charles Keepax <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 003b786 commit 392cc13

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

sound/soc/codecs/rt5514-spi.c

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,14 @@ static int rt5514_spi_pcm_new(struct snd_soc_component *component,
298298
}
299299

300300
static const struct snd_soc_component_driver rt5514_spi_component = {
301-
.name = DRV_NAME,
302-
.probe = rt5514_spi_pcm_probe,
303-
.open = rt5514_spi_pcm_open,
304-
.hw_params = rt5514_spi_hw_params,
305-
.hw_free = rt5514_spi_hw_free,
306-
.pointer = rt5514_spi_pcm_pointer,
307-
.pcm_construct = rt5514_spi_pcm_new,
301+
.name = DRV_NAME,
302+
.probe = rt5514_spi_pcm_probe,
303+
.open = rt5514_spi_pcm_open,
304+
.hw_params = rt5514_spi_hw_params,
305+
.hw_free = rt5514_spi_hw_free,
306+
.pointer = rt5514_spi_pcm_pointer,
307+
.pcm_construct = rt5514_spi_pcm_new,
308+
.legacy_dai_naming = 1,
308309
};
309310

310311
/**

0 commit comments

Comments
 (0)