diff mbox

[11/14] sony-laptop: Add FW specific hotkey events and DMI

Message ID 1238072305-8085-12-git-send-email-malattia@linux.it (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Mattia Dongili March 26, 2009, 12:58 p.m. UTC
From: Anton Veretenenko <anton@veretenenko.ru>

Signed-off-by: Anton Veretenenko <anton@veretenenko.ru>
Signed-off-by: Mattia Dongili <malattia@linux.it>
---
 drivers/platform/x86/sony-laptop.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Comments

Matthew Garrett March 26, 2009, 1:08 p.m. UTC | #1
On Thu, Mar 26, 2009 at 09:58:22PM +0900, Mattia Dongili wrote:
> From: Anton Veretenenko <anton@veretenenko.ru>

It's a minor issue, but the subject doesn't quite match the patch now - 
there's no DMI code needed.
Mattia Dongili March 26, 2009, 1:21 p.m. UTC | #2
On Thu, Mar 26, 2009 at 01:08:29PM +0000, Matthew Garrett wrote:
> On Thu, Mar 26, 2009 at 09:58:22PM +0900, Mattia Dongili wrote:
> > From: Anton Veretenenko <anton@veretenenko.ru>
> 
> It's a minor issue, but the subject doesn't quite match the patch now - 
> there's no DMI code needed.

Aaaargh! I forgot to edit the commit text after editing the patch. I'll
resend this one with a proper subject.
diff mbox

Patch

diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index 74df723..3575a2d 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -870,6 +870,12 @@  static struct sony_nc_event sony_100_events[] = {
 	{ 0x11, SONYPI_EVENT_ANYBUTTON_RELEASED },
 	{ 0x81, SONYPI_EVENT_FNKEY_F1 },
 	{ 0x01, SONYPI_EVENT_FNKEY_RELEASED },
+	{ 0x82, SONYPI_EVENT_FNKEY_F2 },
+	{ 0x02, SONYPI_EVENT_FNKEY_RELEASED },
+	{ 0x83, SONYPI_EVENT_FNKEY_F3 },
+	{ 0x03, SONYPI_EVENT_FNKEY_RELEASED },
+	{ 0x84, SONYPI_EVENT_FNKEY_F4 },
+	{ 0x04, SONYPI_EVENT_FNKEY_RELEASED },
 	{ 0x85, SONYPI_EVENT_FNKEY_F5 },
 	{ 0x05, SONYPI_EVENT_FNKEY_RELEASED },
 	{ 0x86, SONYPI_EVENT_FNKEY_F6 },