From: Mattia Dongili <malattia@linux.it>
To: Len Brown <lenb@kernel.org>
Cc: linux-acpi@vger.kernel.org, Mattia Dongili <malattia@linux.it>
Subject: [PATCH 6/6] sony-laptop: fix scancode decode
Date: Mon, 14 Jan 2008 18:05:46 +0900 [thread overview]
Message-ID: <1200301546-6079-7-git-send-email-malattia@linux.it> (raw)
In-Reply-To: <1200301546-6079-6-git-send-email-malattia@linux.it>
compare against the sony_laptop specific event list index
to decode the input scancode to send.
Signed-off-by: Mattia Dongili <malattia@linux.it>
---
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;
}
--
1.5.3.7
next prev parent reply other threads:[~2008-01-14 9:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-14 9:05 [PATCH 0/6 try3] sony-laptop for 2.6.25 Mattia Dongili
2008-01-14 9:05 ` [PATCH 1/6] sony-laptop: printk more info in sony_pic_call[123] Mattia Dongili
2008-01-14 9:05 ` [PATCH 2/6] sony-laptop: Add Vaio N series to the special init sequence to enable Fn keys Mattia Dongili
2008-01-14 9:05 ` [PATCH 3/6] sony-laptop: refactor model types Mattia Dongili
2008-01-14 9:05 ` [PATCH 4/6] sony-laptop: bump version to 0.6 Mattia Dongili
2008-01-14 9:05 ` [PATCH 5/6] sony-laptop: add Type4 model Mattia Dongili
2008-01-14 9:05 ` Mattia Dongili [this message]
2008-01-24 5:49 ` [PATCH 0/6 try3] sony-laptop for 2.6.25 Len Brown
-- strict thread matches above, loose matches on Subject: below --
2008-01-13 4:23 [PATCH 0/6 try2] " Mattia Dongili
2008-01-13 4:23 ` [PATCH 1/6] sony-laptop: printk more info in sony_pic_call[123] Mattia Dongili
2008-01-13 4:23 ` [PATCH 2/6] sony-laptop: Add Vaio N series to the special init sequence to enable Fn keys Mattia Dongili
2008-01-13 4:23 ` [PATCH 3/6] sony-laptop: refactor model types Mattia Dongili
2008-01-13 4:23 ` [PATCH 4/6] sony-laptop: bump version to 0.6 Mattia Dongili
2008-01-13 4:23 ` [PATCH 5/6] sony-laptop: add Type4 model Mattia Dongili
2008-01-13 4:23 ` [PATCH 6/6] sony-laptop: fix scancode decode Mattia Dongili
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1200301546-6079-7-git-send-email-malattia@linux.it \
--to=malattia@linux.it \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.