Skip to contentSkip to conversation

input: tegra-kbc: Fix build error.

PATCH In review [email protected] 2 participants 3 messages Jan 28, 2011

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

PATCH 1/1 input: tegra-kbc: Fix build error.

From: Rakesh Iyer <[email protected]>

Fix build error introduced by variable name change.

---
 drivers/input/keyboard/tegra-kbc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/input/keyboard/tegra-kbc.c +2 -2
index 6ca903a..ac471b7 100644
@@ -355,8 +355,8 @@ static void tegra_kbc_config_pins(struct tegra_kbc *kbc)
 	for (i = 0; i < KBC_MAX_GPIO; i++) {
 		u32 r_shft = 5 * (i % 6);
 		u32 c_shft = 4 * (i % 8);
-		u32 r_mask = 0x1f << r_shift;
-		u32 c_mask = 0x0f << c_shift;
+		u32 r_mask = 0x1f << r_shft;
+		u32 c_mask = 0x0f << c_shft;
 		u32 r_offs = (i / 6) * 4 + KBC_ROW_CFG0_0;
 		u32 c_offs = (i / 8) * 4 + KBC_COL_CFG0_0;
 		u32 row_cfg = readl(kbc->mmio + r_offs);
Signature · 1 line
1.7.0.4
maintainer
#1 lore raw
Quoted 4 lines · On Fri, Jan 28, 2011 at 02:03:33PM -0800, [email protected] wrote:

From: Rakesh Iyer <[email protected]>

Fix build error introduced by variable name change.

Did I manage to pick up wrong version?

Quoted 23 lines
---
 drivers/input/keyboard/tegra-kbc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/input/keyboard/tegra-kbc.c +2 -2
index 6ca903a..ac471b7 100644
@@ -355,8 +355,8 @@ static void tegra_kbc_config_pins(struct tegra_kbc *kbc)
 	for (i = 0; i < KBC_MAX_GPIO; i++) {
 		u32 r_shft = 5 * (i % 6);
 		u32 c_shft = 4 * (i % 8);
-		u32 r_mask = 0x1f << r_shift;
-		u32 c_mask = 0x0f << c_shift;
+		u32 r_mask = 0x1f << r_shft;
+		u32 c_mask = 0x0f << c_shft;
 		u32 r_offs = (i / 6) * 4 + KBC_ROW_CFG0_0;
 		u32 c_offs = (i / 8) * 4 + KBC_COL_CFG0_0;
 		u32 row_cfg = readl(kbc->mmio + r_offs);
Signature · 1 line
1.7.0.4
Signature · 1 line
Dmitry
#2 lore raw

No I think this slipped in, due to a last minute change to get the code < 80 lines.

Regards
Rakesh

Quoted 42 lines

-----Original Message-----
From: Dmitry Torokhov [mailto:[email protected]]
Sent: Friday, January 28, 2011 2:10 PM
To: Rakesh Iyer
Cc: [email protected]; Andrew Chew; [email protected]; linux- [email protected]; [email protected]
Subject: Re: [PATCH v1] input: tegra-kbc: Fix build error.

Quoted 4 lines · On Fri, Jan 28, 2011 at 02:03:33PM -0800, [email protected] wrote:

From: Rakesh Iyer <[email protected]>

Fix build error introduced by variable name change.

Did I manage to pick up wrong version?

Quoted 21 lines
---
 drivers/input/keyboard/tegra-kbc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/input/keyboard/tegra-kbc.c +2 -3
index 6ca903a..ac471b7 100644
@@ -355,8 +355,8 @@ static void tegra_kbc_config_pins(struct tegra_kbc *kbc)
 	for (i = 0; i < KBC_MAX_GPIO; i++) {
 		u32 r_shft = 5 * (i % 6);
 		u32 c_shft = 4 * (i % 8);
-		u32 r_mask = 0x1f << r_shift;
-		u32 c_mask = 0x0f << c_shift;
+		u32 r_mask = 0x1f << r_shft;
+		u32 c_mask = 0x0f << c_shft;
 		u32 r_offs = (i / 6) * 4 + KBC_ROW_CFG0_0;
 		u32 c_offs = (i / 8) * 4 + KBC_COL_CFG0_0;
 		u32 row_cfg = readl(kbc->mmio + r_offs);
--
Quoted 2 lines

1.7.0.4

--
Dmitry