[PATCH v2 1/2] ASoC: cs35l35: fix typo 'overide' -> 'override'
From: IRRatium
Date: Tue Apr 21 2026 - 08:08:05 EST
Fix typo in property name 'cirrus,classh-bst-overide'.
Add support for the corrected 'cirrus,classh-bst-override'
while keeping backward compatibility with the old name.
Signed-off-by: Sergey Shatkov <majnkraftiigry7@xxxxxxxxx>
---
sound/soc/codecs/cs35l35.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c
index 7a01b1d9f..XXXXXXX 100644
--- a/sound/soc/codecs/cs35l35.c
+++ b/sound/soc/codecs/cs35l35.c
@@ -1311,7 +1311,8 @@ static int cs35l35_handle_of_data(struct i2c_client *i2c_client,
if (classh_config->classh_algo_enable) {
classh_config->classh_bst_override =
- of_property_read_bool(np, "cirrus,classh-bst-overide");
+ of_property_read_bool(np, "cirrus,classh-bst-override") ||
+ of_property_read_bool(np, "cirrus,classh-bst-overide");
ret = of_property_read_u32(classh,
"cirrus,classh-bst-max-limit",
--
2.53.0