ASoC: rockchip: spdifrx: 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: I7f0d69db6fb7d814944fa6e73df1a0cead3b39ef
This commit is contained in:
Sugar Zhang
2024-02-21 15:57:07 +08:00
committed by Tao Huang
parent 4f9780e374
commit 82596d73d0

View File

@@ -163,6 +163,7 @@ static struct snd_soc_dai_driver rk_spdifrx_dai = {
static const struct snd_soc_component_driver rk_spdifrx_component = {
.name = "rockchip-spdifrx",
.legacy_dai_naming = 1,
};
static bool rk_spdifrx_wr_reg(struct device *dev, unsigned int reg)