]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: vangogh: Use non-legacy DAI naming for cs35l41
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Fri, 22 Jul 2022 09:27:00 +0000 (12:27 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 22 Jul 2022 12:40:01 +0000 (13:40 +0100)
commitd197b6acc624c9643c29ab8911c8bd910bbf1037
treec843b9ffe7dff60776873f6138e00dc6fd7e38e4
parentc2a46966b99c14e23c4459459bca5387b95d0e18
ASoC: amd: vangogh: Use non-legacy DAI naming for cs35l41

Unlike most CODEC drivers, the CS35L41 driver did not have the
non_legacy_dai_naming set, meaning the corresponding DAI has been
traditionally registered using the legacy naming: spi-VLV1776:0x

The recent migration to the new legacy DAI naming style has implicitly
corrected that behavior and DAI gets now registered via the non-legacy
naming, i.e. cs35l41-pcm.

The problem is the acp5x platform driver is now broken as it continues
to refer to the above mentioned codec using the legacy DAI naming in
function acp5x_cs35l41_hw_params() and, therefore, the related setup
is not being executed anymore.

Let's fix that by replacing the obsolete DAI name with the correct one.

Fixes: b692167180a7 ("ASoC: core: Switch core to new DAI naming flag")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220722092700.8269-1-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/vangogh/acp5x-mach.c