ASoC: rockchip: sai: Add legacy_dai_naming flag

This patch add legacy_dai_naming flag to solve the
probe failure.

Ref: commit d48a771735 ("ASoC: rockchip: Migrate to new style legacy DAI naming flag")

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I9fc949d7f5dbf16a9b4dbad35e9bf23613181fdf
This commit is contained in:
Sugar Zhang
2023-09-01 17:46:10 +08:00
parent f28e3c1bc6
commit 8ccc3ece88

View File

@@ -1262,6 +1262,7 @@ static const struct snd_soc_component_driver rockchip_sai_component = {
.name = DRV_NAME,
.controls = rockchip_sai_controls,
.num_controls = ARRAY_SIZE(rockchip_sai_controls),
.legacy_dai_naming = 1,
};
static irqreturn_t rockchip_sai_isr(int irq, void *devid)