Keymap fix for palmte and palmz71.
Subsystems (3)
PATCH 1/1 Keymap fix for palmte and palmz71.
From: Eduardo Valentin <[email protected]>
--- arch/arm/mach-omap1/board-palmte.c | 2 +- arch/arm/mach-omap1/board-palmz71.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-omap1/board-palmte.c +1 -1
@@ -64,7 +64,7 @@ static const int palmte_keymap[] = {KEY (1 ,1 ,KEY_DOWN ),KEY (1 ,2 ,KEY_UP ),KEY (1 ,3 ,KEY_RIGHT ), -KEY (1 ,4 ,KEY_CENTER ), +KEY (1 ,4 ,KEY_ENTER ), 0, };
arch/arm/mach-omap1/board-palmz71.c +1 -1
@@ -65,7 +65,7 @@ static int palmz71_keymap[] = {KEY (1 ,1 ,KEY_DOWN ),KEY (1 ,2 ,KEY_UP ),KEY (1 ,3 ,KEY_RIGHT ), -KEY (1 ,4 ,KEY_CENTER ), +KEY (1 ,4 ,KEY_ENTER ),KEY (2 ,0 ,KEY_CAMERA ), 0, };
Signature · 1 line
1.5.4.2
Hi,
Quoted 12 lines · Eduardo Valentin
From: Eduardo Valentin <[email protected]>
Signed-off-by Eduardo Valentin <[email protected]>---
arch/arm/mach-omap1/board-palmte.c | 2 +- arch/arm/mach-omap1/board-palmz71.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)diff --git
a/arch/arm/mach-omap1/board-palmte.cb/arch/arm/mach-omap1/board-palmte.cindex 63c3131..f4860b0 100644
---a/arch/arm/mach-omap1/board-palmte.c
+++b/arch/arm/mach-omap1/board-palmte.c
Quoted 6 lines
@@ -64,7 +64,7 @@ static const int palmte_keymap[] = { KEY(1, 1, KEY_DOWN), KEY(1, 2, KEY_UP), KEY(1, 3, KEY_RIGHT),-
KEY(1, 4, KEY_CENTER),
+KEY(1, 4, KEY_ENTER),
I'm not sure if the disappearance of KEY_CENTER ininclude/linux/input.h was intended or accidental. I can't find the
exact commitdiff that removed it, in either gitweb or gitview. It can
be seen in gitweb that the tree in this commit still has it (after a
bit merge) http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=dd1d9a62f7cd60b544013eb429d6a3137617f0b2
and the following commit:
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=5517853712f1f6daac8a7b2590f9b821e767aa13
has no KEY_CENTER. Is that a merge conflict?
Signature · 2 lines
Please do not print this email unless absolutely necessary. Spread environmental awareness.
Hi andrzej,
It may disappeared in a merge. However, this patch was based on:
http://linux.omap.com/pipermail/linux-omap-open-source/2007-August/011225.html
That's why I thought the remotion was intended.
Cheers,
Quoted 35 lines · andrzej zaborowski
Hi,
Quoted 12 lines · Eduardo Valentin
From: Eduardo Valentin <[email protected]>
Signed-off-by Eduardo Valentin <[email protected]>---
arch/arm/mach-omap1/board-palmte.c | 2 +- arch/arm/mach-omap1/board-palmz71.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)diff --git
a/arch/arm/mach-omap1/board-palmte.cb/arch/arm/mach-omap1/board-palmte.cindex 63c3131..f4860b0 100644
---a/arch/arm/mach-omap1/board-palmte.c
+++b/arch/arm/mach-omap1/board-palmte.cQuoted 6 lines
@@ -64,7 +64,7 @@ static const int palmte_keymap[] = { KEY(1, 1, KEY_DOWN), KEY(1, 2, KEY_UP), KEY(1, 3, KEY_RIGHT),-
KEY(1, 4, KEY_CENTER),
+KEY(1, 4, KEY_ENTER),I'm not sure if the disappearance of
KEY_CENTERin
include/linux/input.hwas intended or accidental. I can't find the
exact commitdiff that removed it, in either gitweb or gitview. It can
be seen in gitweb that the tree in this commit still has it (after a
bit merge) http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=dd1d9a62f7cd60b544013eb429d6a3137617f0b2
and the following commit:
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=5517853712f1f6daac8a7b2590f9b821e767aa13
has noKEY_CENTER. Is that a merge conflict?
--
Please do not print this email unless absolutely necessary. Spread
environmental awareness.
Signature · 1 line
Eduardo Bezerra Valentin
Tony Lindgren
reviewerQuoted 6 lines · Eduardo Valentin
Hi andrzej,
It may disappeared in a merge. However, this patch was based on:
http://linux.omap.com/pipermail/linux-omap-open-source/2007-August/011225.htmlThat's why I thought the remotion was intended.
Andrzej, can you please check this? If patching for the input.h is needed, we should get it merged via LKML.
Tony
Quoted 50 lines
Cheers,
Quoted 35 lines · andrzej zaborowski
Hi,
Quoted 12 lines · Eduardo Valentin
From: Eduardo Valentin <[email protected]>
Signed-off-by Eduardo Valentin <[email protected]>---
arch/arm/mach-omap1/board-palmte.c | 2 +- arch/arm/mach-omap1/board-palmz71.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)diff --git
a/arch/arm/mach-omap1/board-palmte.cb/arch/arm/mach-omap1/board-palmte.cindex 63c3131..f4860b0 100644
---a/arch/arm/mach-omap1/board-palmte.c
+++b/arch/arm/mach-omap1/board-palmte.cQuoted 6 lines
@@ -64,7 +64,7 @@ static const int palmte_keymap[] = { KEY(1, 1, KEY_DOWN), KEY(1, 2, KEY_UP), KEY(1, 3, KEY_RIGHT),-
KEY(1, 4, KEY_CENTER),
+KEY(1, 4, KEY_ENTER),I'm not sure if the disappearance of
KEY_CENTERin
include/linux/input.hwas intended or accidental. I can't find the
exact commitdiff that removed it, in either gitweb or gitview. It can
be seen in gitweb that the tree in this commit still has it (after a
bit merge) http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=dd1d9a62f7cd60b544013eb429d6a3137617f0b2
and the following commit:
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=5517853712f1f6daac8a7b2590f9b821e767aa13
has noKEY_CENTER. Is that a merge conflict?
--
Please do not print this email unless absolutely necessary. Spread
environmental awareness.Signature · 5 lines
Eduardo Bezerra Valentin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 9 lines · Tony Lindgren
Quoted 4 lines · Eduardo Valentin
It may disappeared in a merge. However, this patch was based on:
http://linux.omap.com/pipermail/linux-omap-open-source/2007-August/011225.htmlThat's why I thought the remotion was intended.
Andrzej, can you please check this? If patching for the
input.his
needed, we should get it merged via LKML.
I think Eduardo's fix is the way to go regardless of what happened with KEY_CENTER. I was only wondering why there was this change in input.h and why it wouldn't appear in gitweb. I didn't realise that that key code was local to omap tree.
Cheers
Tony Lindgren
reviewerQuoted 8 lines · andrzej zaborowski
Quoted 7 lines · Tony Lindgren
Quoted 4 lines · Eduardo Valentin
It may disappeared in a merge. However, this patch was based on:
http://linux.omap.com/pipermail/linux-omap-open-source/2007-August/011225.htmlThat's why I thought the remotion was intended.
Quoted 7 lines
Quoted 2 lines
Andrzej, can you please check this? If patching for the
input.his
needed, we should get it merged via LKML.I think Eduardo's fix is the way to go regardless of what happened with
KEY_CENTER. I was only wondering why there was this change ininput.hand why it wouldn't appear in gitweb. I didn't realise that that key code was local to omap tree.
Thanks, will push Eduardo's patch today.
Tony