Commit a1dca877 authored by Jason Montleon's avatar Jason Montleon Committed by Mark Brown

ASoC: rt5677: fix legacy dai naming

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.

Fixes: fc34ece4 ("ASoC: Refactor non_legacy_dai_naming flag")
Signed-off-by: default avatarJason Montleon <jmontleo@redhat.com>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221103144612.4431-2-jmontleo@redhat.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 392cc13c
...@@ -405,6 +405,7 @@ static const struct snd_soc_component_driver rt5677_spi_dai_component = { ...@@ -405,6 +405,7 @@ static const struct snd_soc_component_driver rt5677_spi_dai_component = {
.prepare = rt5677_spi_prepare, .prepare = rt5677_spi_prepare,
.pointer = rt5677_spi_pcm_pointer, .pointer = rt5677_spi_pcm_pointer,
.pcm_construct = rt5677_spi_pcm_new, .pcm_construct = rt5677_spi_pcm_new,
.legacy_dai_naming = 1,
}; };
/* Select a suitable transfer command for the next transfer to ensure /* Select a suitable transfer command for the next transfer to ensure
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment