Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1400101 > unrolled thread

[PATCH ] pinctrl: tegra: Get rid of parked_reg

Started byLaxman Dewangan <ldewangan@nvidia.com>
First post2016-05-12 16:00 +0200
Last post2016-05-24 13:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH ] pinctrl: tegra: Get rid of parked_reg Laxman Dewangan <ldewangan@nvidia.com> - 2016-05-12 16:00 +0200
    Re: [PATCH ] pinctrl: tegra: Get rid of parked_reg Linus Walleij <linus.walleij@linaro.org> - 2016-05-24 13:10 +0200

#1400101 — [PATCH ] pinctrl: tegra: Get rid of parked_reg

FromLaxman Dewangan <ldewangan@nvidia.com>
Date2016-05-12 16:00 +0200
Subject[PATCH ] pinctrl: tegra: Get rid of parked_reg
Message-ID<rxZjI-75z-19@gated-at.bofh.it>
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

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
---
 drivers/pinctrl/tegra/pinctrl-tegra20.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/tegra/pinctrl-tegra20.c b/drivers/pinctrl/tegra/pinctrl-tegra20.c
index 91254d0..ad62451 100644
--- a/drivers/pinctrl/tegra/pinctrl-tegra20.c
+++ b/drivers/pinctrl/tegra/pinctrl-tegra20.c
@@ -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,				\
-- 
2.1.4

[toc] | [next] | [standalone]


#1406063

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-05-24 13:10 +0200
Message-ID<rCinL-2ur-11@gated-at.bofh.it>
In reply to#1400101
On Thu, May 12, 2016 at 3:42 PM, Laxman Dewangan <ldewangan@nvidia.com> wrote:

> 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
>
> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>

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

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web