Skip to contentSkip to conversation

pinctrl: actions: fix function group name for i2c0_group

PATCH In review Amit Singh Tomar 2 participants 2 messages Apr 13, 2020 – Apr 16, 2020

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

PATCH 1/1 pinctrl: actions: fix function group name for i2c0_group

After commit 6f87359e8bca ("pinctrl: actions: Fix functions groups names for S700 SoC") following error has been observed while booting Linux on Cubieboard7-lite(based on S700 SoC).

[    1.206245] pinctrl-s700 e01b0000.pinctrl: invalid group "i2c0_mfp" for function "i2c0"

This commit fixes it by using correct name for i2c0_group.

Fixes 6f87359e8bca ("pinctrl: actions: Fix functions groups names for S700 SoC")

---
Changes since previous version:
* Removed the white space from commit message.
* Used the 12 digits for commit hash.
* Passed it through checkpatch script.

---
 drivers/pinctrl/actions/pinctrl-s700.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/actions/pinctrl-s700.c +1 -1
index 47a4ccd..f579a65 100644
@@ -1435,7 +1435,7 @@ static const char * const sd2_groups[] = {
 static const char * const i2c0_groups[] = {
 	"uart0_rx_mfp",
 	"uart0_tx_mfp",
-	"i2c0_mfp_mfp",
+	"i2c0_mfp",
 };
 
 static const char * const i2c1_groups[] = {
Signature · 1 line
2.7.4
#1 lore raw
Quoted 10 lines · Amit Singh Tomar

After commit 6f87359e8bca ("pinctrl: actions: Fix functions groups names for S700 SoC") following error has been observed while booting Linux on Cubieboard7-lite(based on S700 SoC).

[    1.206245] pinctrl-s700 e01b0000.pinctrl: invalid group "i2c0_mfp" for function "i2c0"

This commit fixes it by using correct name for i2c0_group.

Fixes 6f87359e8bca ("pinctrl: actions: Fix functions groups names for S700 SoC")

Patch applied with Mani's ACK.

Yours,
Linus Walleij

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel