OpenCloudOS-Kernel/sound/soc/amd/vangogh
Cristian Ciocaltea b340128432
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: 129f055a21 ("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>
2022-07-22 13:40:01 +01:00
..
Makefile ASoC: amd: enable vangogh platform machine driver build 2021-10-15 16:10:55 +01:00
acp5x-i2s.c ASoC: amd: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:30 +01:00
acp5x-mach.c ASoC: amd: vangogh: Use non-legacy DAI naming for cs35l41 2022-07-22 13:40:01 +01:00
acp5x-pcm-dma.c ASoC: amd: Fix reference to PCM buffer address 2022-03-16 16:39:27 +00:00
acp5x.h ASoC: Updates for v5.18 2022-03-21 16:19:21 +01:00
pci-acp5x.c ASoC: amd: vg: update acp init and deinit sequence 2022-02-24 02:04:30 +00:00
vg_chip_offset_byte.h ASoC: amd: add Vangogh ACP5x IP register header 2021-07-22 12:45:32 +01:00