ASoC: cs35l35: fix typo 'overide' -> 'override'
Subsystems (4)
PATCH 1/2 ASoC: cs35l35: fix typo 'overide' -> 'override'
Fix typo in property name 'cirrus,classh-bst-overide', should be 'cirrus,classh-bst-override'.
---
sound/soc/codecs/cs35l35.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/cs35l35.c +0 -0
@@ -1311,7 +1311,7 @@ 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");
ret = of_property_read_u32(classh,
"cirrus,classh-bst-max-limit",
Signature · 1 line
2.53.0
PATCH 2/2 dt-bindings: sound: cs35l35: fix typo 'overide' -> 'override'
Fix typo in property name 'cirrus,classh-bst-overide', should be 'cirrus,classh-bst-override'.
---
Documentation/devicetree/bindings/sound/cs35l35.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/sound/cs35l35.txt +0 -0
@@ -82,7 +82,7 @@ Optional H/G Algorithm sub-node:
Optional properties for the "cirrus,classh-internal-algo" Sub-node
Section 7.29 Class H Control
- - cirrus,classh-bst-overide : Boolean
+ - cirrus,classh-bst-override : Boolean
- cirrus,classh-bst-max-limit
- cirrus,classh-mem-depth
@@ -155,7 +155,7 @@ cs35l35: cs35l35@20 {
cirrus,shared-boost;
cirrus,classh-internal-algo {
- cirrus,classh-bst-overide;
+ cirrus,classh-bst-override;
cirrus,classh-bst-max-limit = <0x01>;
cirrus,classh-mem-depth = <0x01>;
cirrus,classh-release-rate = <0x08>;
Signature · 1 line
2.53.0
Re: [PATCH 2/2] dt-bindings: sound: cs35l35: fix typo 'overide' -> 'override'
Quoted 14 lines · IRRatium
Fix typo in property name 'cirrus,classh-bst-overide', should be 'cirrus,classh-bst-override'.
Signed-off-by IRRatium <[email protected]>--- Documentation/devicetree/bindings/sound/cs35l35.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Documentation/devicetree/bindings/sound/cs35l35.txt +0
-0
Documentation/devicetree/bindings/sound/cs35l35.txt Optional H/G Algorithm sub-node: · line 86
Quoted 6 lines
Documentation/devicetree/bindings/sound/cs35l35.txt +1
-1@@ -82,7 +82,7 @@ Optional H/G Algorithm sub-node: Optional properties for the "cirrus,classh-internal-algo" Sub-node Section 7.29 Class H Control - - cirrus,classh-bst-overide : Boolean + - cirrus,classh-bst-override : Boolean - cirrus,classh-bst-max-limit
NAK, ABI break.
Best regards,
Krzysztof
Quoted 16 lines · IRRatium
Fix typo in property name 'cirrus,classh-bst-overide', should be 'cirrus,classh-bst-override'.
Signed-off-by IRRatium <[email protected]>---
sound/soc/codecs/cs35l35.c | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)sound/soc/codecs/cs35l35.c +0
-0@@ -1311,7 +1311,7 @@ static int cs35l35_handle_of_data(struct i2c_client *i2c_client, if (classh_config->classh_algo_enable) {
Quoted 3 lines
classh_config->classh_bst_override =
-of_property_read_bool(np, "cirrus,classh-bst-overide"); +of_property_read_bool(np, "cirrus,classh-bst-override");
This would need to check both properties. The problem is as this is a device tree thing and has been in the wild for some time, we can't be sure there aren't device trees out there depending on the misspelling.
Thanks,
Charles
Quoted 4 lines · IRRatium
Fix typo in property name 'cirrus,classh-bst-overide', should be 'cirrus,classh-bst-override'.
Signed-off-by IRRatium <[email protected]>
We don't take anonymous contributions.
Quoted 9 lines
--- sound/soc/codecs/cs35l35.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)sound/soc/codecs/cs35l35.c +0
-0
sound/soc/codecs/cs35l35.c static int cs35l35_handle_of_data(struct · line 1315
Quoted 6 lines
sound/soc/codecs/cs35l35.c +1
-1@@ -1311,7 +1311,7 @@ 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");
ABI break, so that's a strong no.
Best regards,
Krzysztof