projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
459fd22
)
recovery: update: fix key ckeck error
author
Sanghee Kim
<sh0130.kim@samsung.com>
Mon, 3 May 2010 08:37:38 +0000
(17:37 +0900)
committer
Sanghee Kim
<sh0130.kim@samsung.com>
Mon, 3 May 2010 08:37:38 +0000
(17:37 +0900)
recovery/board/samsung/universal/universal.c
patch
|
blob
|
history
diff --git
a/recovery/board/samsung/universal/universal.c
b/recovery/board/samsung/universal/universal.c
index
240e1fb
..
8dcfc46
100644
(file)
--- a/
recovery/board/samsung/universal/universal.c
+++ b/
recovery/board/samsung/universal/universal.c
@@
-456,13
+456,13
@@
static int check_keypad(void)
cpu_rev = s5pc1xx_get_cpu_rev();
if (cpu_rev == 1) {
- if (
row_state[1] &
0x6)
+ if (
(row_state[1] & 0x6) ==
0x6)
condition = 1;
} else if (cpu_rev == 2) {
- if (
row_state[2] &
0x6)
+ if (
(row_state[2] & 0x6) ==
0x6)
condition = 1;
} else {
- if (
row_state[1] &
0x3)
+ if (
(row_state[1] & 0x3) ==
0x3)
condition = 1;
}