git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
[pandora-kernel.git]
/
drivers
/
media
/
video
/
ir-kbd-i2c.c
diff --git
a/drivers/media/video/ir-kbd-i2c.c
b/drivers/media/video/ir-kbd-i2c.c
index
210582d
..
ed92b6f
100644
(file)
--- a/
drivers/media/video/ir-kbd-i2c.c
+++ b/
drivers/media/video/ir-kbd-i2c.c
@@
-173,7
+173,7
@@
static int get_key_pinnacle(struct IR_i2c *ir, u32 *ir_key, u32 *ir_raw,
return -EIO;
}
- for (start = 0; start
<4
; start++) {
+ for (start = 0; start
< ARRAY_SIZE(b)
; start++) {
if (b[start] == marker) {
code=b[(start+parity_offset+1)%4];
parity=b[(start+parity_offset)%4];