Skip to contentSkip to conversation

pinctrl: tegra: Get rid of parked_reg

PATCH In review Laxman Dewangan 2 participants 2 messages May 12, 2016 – May 24, 2016

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

PATCH 1/1 pinctrl: tegra: Get rid of parked_reg

Remove the use of parked_reg and use parked_bit for to know whether field is supported or not.

This is fix for the patch
commit 1d18a3f0f0809f6c71f1f6e9e268ee904ce0b588
"pinctrl: tegra: avoid parked_reg and parked_bank

---
 drivers/pinctrl/tegra/pinctrl-tegra20.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/tegra/pinctrl-tegra20.c +1 -1
index 91254d0..ad62451 100644
@@ -2030,7 +2030,7 @@ static struct tegra_function tegra20_functions[] = {
 		.tri_reg = -1,					\
 		.drv_reg = ((r) - PINGROUP_REG_A),		\
 		.drv_bank = 3,					\
-		.parked_reg = -1,				\
+		.parked_bit = -1,				\
 		.hsm_bit = hsm_b,				\
 		.schmitt_bit = schmitt_b,			\
 		.lpmd_bit = lpmd_b,				\
Signature · 1 line
2.1.4
#1 lore raw
Quoted 8 lines · Laxman Dewangan

Remove the use of parked_reg and use parked_bit for to know whether field is supported or not.

This is fix for the patch
commit 1d18a3f0f0809f6c71f1f6e9e268ee904ce0b588
"pinctrl: tegra: avoid parked_reg and parked_bank

I reverted my revert and applied this fix on top, let's hope it works...

Yours,
Linus Walleij