projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff07a53
)
sony-laptop: new style events typo fixes
author
Matthias Welwarsky
<matze@welwarsky.de>
Wed, 1 Apr 2009 13:10:45 +0000
(22:10 +0900)
committer
Len Brown
<len.brown@intel.com>
Fri, 3 Apr 2009 17:03:46 +0000
(13:03 -0400)
Signed-off-by: Matthias Welwarsky <matze@welwarsky.de>
Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/sony-laptop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/sony-laptop.c
b/drivers/platform/x86/sony-laptop.c
index 5837156f09fdedb45424721b9df3ee29de60ab13..011c03596b2c3b525c9f2a5a21d024f9244e7b42 100644
(file)
--- a/
drivers/platform/x86/sony-laptop.c
+++ b/
drivers/platform/x86/sony-laptop.c
@@
-865,7
+865,7
@@
struct sony_nc_event {
static struct sony_nc_event sony_100_events[] = {
{ 0x90, SONYPI_EVENT_PKEY_P1 },
{ 0x10, SONYPI_EVENT_ANYBUTTON_RELEASED },
- { 0x91, SONYPI_EVENT_PKEY_P
1
},
+ { 0x91, SONYPI_EVENT_PKEY_P
2
},
{ 0x11, SONYPI_EVENT_ANYBUTTON_RELEASED },
{ 0x81, SONYPI_EVENT_FNKEY_F1 },
{ 0x01, SONYPI_EVENT_FNKEY_RELEASED },
@@
-929,7
+929,7
@@
static void sony_acpi_notify(acpi_handle handle, u32 event, void *data)
if (sony_find_snc_handle(0x127) == ev)
key_handle = 0x127;
- if (handle) {
+ if (
key_
handle) {
struct sony_nc_event *key_event;
if (sony_call_snc_handle(key_handle, 0x200, &result))