Skip to contentSkip to conversation

Patch "pinctrl: uniphier: fix .pin_dbg_show() callback" has been added to the 4.7-stable tree

PATCH [email protected] 1 participant 1 message Oct 4, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

pinctrl: uniphier: fix .pin_dbg_show() callback

to the 4.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
pinctrl-uniphier-fix-.pin_dbg_show-callback.patch
and it can be found in the queue-4.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 10ef8277ec658bf6619da9b3fd65c2db7353c2a4 Mon Sep 17 00:00:00 2001

From: Masahiro Yamada <[email protected]>
Date: Tue, 31 May 2016 15:30:10 +0900
Subject: pinctrl: uniphier: fix .pin_dbg_show() callback

From: Masahiro Yamada <[email protected]>

commit 10ef8277ec658bf6619da9b3fd65c2db7353c2a4 upstream.

Without this, reading the "pins" in the debugfs causes kernel BUG.

Fixes 6e9088920258 ("pinctrl: UniPhier: add UniPhier pinctrl core support")
---
 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c |    6 ++++++
 1 file changed, 6 insertions(+)
drivers/pinctrl/uniphier/pinctrl-uniphier-core.c +6 -0
@@ -73,6 +73,12 @@ static void uniphier_pctl_pin_dbg_show(s
 	case UNIPHIER_PIN_PULL_DOWN:
 		pull_dir = "DOWN";
 		break;
+	case UNIPHIER_PIN_PULL_UP_FIXED:
+		pull_dir = "UP(FIXED)";
+		break;
+	case UNIPHIER_PIN_PULL_DOWN_FIXED:
+		pull_dir = "DOWN(FIXED)";
+		break;
 	case UNIPHIER_PIN_PULL_NONE:
 		pull_dir = "NONE";
 		break;

Patches currently in stable-queue which might be from [email protected] are

queue-4.7/pinctrl-uniphier-fix-.pin_dbg_show-callback.patch