ASoC: rt5514: fix legacy dai naming
authorJason Montleon <jmontleo@redhat.com>
Thu, 3 Nov 2022 14:46:11 +0000 (10:46 -0400)
committerMark Brown <broonie@kernel.org>
Fri, 4 Nov 2022 12:24:53 +0000 (12:24 +0000)
commit392cc13c5ec72ccd6bbfb1bc2339502cc59dd285
treed68ea122192034c55f1b36d03772aab5a218d31d
parent003b786b678919e072c2b12ffa73901ef840963e
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: 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>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221103144612.4431-1-jmontleo@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5514-spi.c