Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=fccd5d00ba68455425a35f905fd92538429c310d
Commit:     fccd5d00ba68455425a35f905fd92538429c310d
Parent:     3eb8749a37990b505ab94466038c067444bbd7eb
Author:     Mattia Dongili <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 14 18:05:46 2008 +0900
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Thu Jan 24 00:47:29 2008 -0500

    sony-laptop: fix scancode decode
    
    compare against the sony_laptop specific event list index
    to decode the input scancode to send.
    
    Signed-off-by: Mattia Dongili <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 drivers/misc/sony-laptop.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c
index 70d5cc5..899e3f7 100644
--- a/drivers/misc/sony-laptop.c
+++ b/drivers/misc/sony-laptop.c
@@ -315,7 +315,7 @@ static void sony_laptop_report_input_event(u8 event)
                break;
 
        default:
-               if (event > ARRAY_SIZE (sony_laptop_input_keycode_map)) {
+               if (event > ARRAY_SIZE(sony_laptop_input_index)) {
                        dprintk("sony_laptop_report_input_event, event not 
known: %d\n", event);
                        break;
                }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to