drivers/media/IR/ir-keytable.c: fix binary search
authorDavid Härdeman <david@hardeman.nu>
Sat, 30 Oct 2010 20:17:44 +0000 (22:17 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 31 Oct 2010 01:02:22 +0000 (18:02 -0700)
commit0d07025effd3da8b9c74f18448823175f4c63a73
tree7482289716e68a4239e11603af4848fc798d7b3b
parent1792f17b7210280a3d7ff29da9614ba779cfcedb
drivers/media/IR/ir-keytable.c: fix binary search

The input-large-scancode patches changed the binary search in
drivers/media/IR/ir-keytable.c to use unsigned integers, but
signed integers are actually necessary for the algorithm to work.

Signed-off-by: David Härdeman <david@hardeman.nu>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/IR/ir-keytable.c