lkml.org 
[lkml]   [2022]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ASoC: cs35l41: Set the new legacy DAI naming flag
Date
Unlike most CODEC drivers, the CS35L41 driver did not have the
non_legacy_dai_naming set, meaning it uses the legacy naming.

The recent migration to the new legacy DAI naming style has broken
driver functionality because it is now expected to set the new legacy
DAI naming flag in order to instruct the core subsystem to use the
legacy name format on DAI registration.

Let's fix this by setting the legacy_dai_naming flag accordingly.

Fixes: bc949a3b4af3 ("ASoC: core: Switch core to new DAI naming flag")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
---
sound/soc/codecs/cs35l41.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/cs35l41.c b/sound/soc/codecs/cs35l41.c
index c223d83e02cf..b49f9a32abf2 100644
--- a/sound/soc/codecs/cs35l41.c
+++ b/sound/soc/codecs/cs35l41.c
@@ -1028,6 +1028,7 @@ static const struct snd_soc_component_driver soc_component_dev_cs35l41 = {
.set_sysclk = cs35l41_component_set_sysclk,

.endianness = 1,
+ .legacy_dai_naming = 1,
};

static int cs35l41_handle_pdata(struct device *dev, struct cs35l41_hw_cfg *hw_cfg)
--
2.37.1
\
 
 \ /
  Last update: 2022-07-21 14:17    [W:0.128 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site