diff mbox series

[v1] pinctrl: actions: fix function group name for i2c0_group

Message ID 1586757913-5438-1-git-send-email-amittomer25@gmail.com (mailing list archive)
State Mainlined
Commit 6a27268cdeb035aca092c3bc2a426594fb558cc1
Headers show
Series [v1] pinctrl: actions: fix function group name for i2c0_group | expand

Commit Message

Amit Tomer April 13, 2020, 6:05 a.m. UTC
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")
Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
---
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(-)

Comments

Linus Walleij April 16, 2020, 11:10 a.m. UTC | #1
On Mon, Apr 13, 2020 at 8:05 AM Amit Singh Tomar <amittomer25@gmail.com> wrote:

> 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")
> Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>

Patch applied with Mani's ACK.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/drivers/pinctrl/actions/pinctrl-s700.c b/drivers/pinctrl/actions/pinctrl-s700.c
index 47a4ccd..f579a65 100644
--- a/drivers/pinctrl/actions/pinctrl-s700.c
+++ b/drivers/pinctrl/actions/pinctrl-s700.c
@@ -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[] = {