Skip to contentSkip to conversation

pinctrl: qcom: nord: remove duplicated pin function

PATCH In review Bartosz Golaszewski 4 participants 4 messages May 6 – May 7

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: qcom: nord: remove duplicated pin function

The qdss_cti function is initialized twice in the nord_functions array. Remove the duplicate entry.

Fixes c24dd0826f06 ("pinctrl: qcom: add the TLMM driver for the Nord platforms")
---
 drivers/pinctrl/qcom/pinctrl-nord.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pinctrl/qcom/pinctrl-nord.c +0 -1
index f14361101bf4..7c21306e77ff 100644
@@ -1417,7 +1417,6 @@ static const struct pinfunction nord_functions[] = {
 	MSM_PIN_FUNCTION(prng_rosc0),
 	MSM_PIN_FUNCTION(prng_rosc1),
 	MSM_PIN_FUNCTION(pwrbrk_i_n),
-	MSM_PIN_FUNCTION(qdss_cti),
 	MSM_PIN_FUNCTION(qdss),
 	MSM_PIN_FUNCTION(qdss_cti),
 	MSM_PIN_FUNCTION(qspi),
Signature · 1 line
2.47.3
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Bartosz Golaszewski

The qdss_cti function is initialized twice in the nord_functions array. Remove the duplicate entry.

Fixes c24dd0826f06 ("pinctrl: qcom: add the TLMM driver for the Nord platforms")

---

Konrad

Reviewed-by on v1 1/1
#2 lore raw
In reply to Bartosz Golaszewski
Quoted 16 lines · Bartosz Golaszewski

The qdss_cti function is initialized twice in the nord_functions array. Remove the duplicate entry.

Fixes c24dd0826f06 ("pinctrl: qcom: add the TLMM driver for the Nord platforms")
---
 drivers/pinctrl/qcom/pinctrl-nord.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pinctrl/qcom/pinctrl-nord.c +0 -0
index f14361101bf4..7c21306e77ff 100644

drivers/pinctrl/qcom/pinctrl-nord.c static const struct pinfunction nord_functions[] = { · line 1422

Quoted 7 lines
drivers/pinctrl/qcom/pinctrl-nord.c +0 -1
@@ -1417,7 +1417,6 @@ static const struct pinfunction nord_functions[] = {
 	MSM_PIN_FUNCTION(prng_rosc0),
 	MSM_PIN_FUNCTION(prng_rosc1),
 	MSM_PIN_FUNCTION(pwrbrk_i_n),
-	MSM_PIN_FUNCTION(qdss_cti),
 	MSM_PIN_FUNCTION(qdss),
 	MSM_PIN_FUNCTION(qdss_cti),
 	MSM_PIN_FUNCTION(qspi),

I also see on my allyes builders -Winitializer-overrides.

Best regards,
Krzysztof

maintainer
#3 lore raw
In reply to Bartosz Golaszewski
Quoted 7 lines · Bartosz Golaszewski

The qdss_cti function is initialized twice in the nord_functions array. Remove the duplicate entry.

Fixes c24dd0826f06 ("pinctrl: qcom: add the TLMM driver for the Nord platforms")

Patch applied!

Yours,
Linus Walleij