Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidKernelMSM
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidKernelMSM
Commits
45335578
Commit
45335578
authored
9 years ago
by
Patrick Tjin
Browse files
Options
Downloads
Patches
Plain Diff
Revert "flo/deb: keypad: set powerkey button to have reset notification"
This reverts commit
077e2228
.
parent
4dc06fd2
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm/mach-msm/asustek/asustek-keypad.c
+4
-6
4 additions, 6 deletions
arch/arm/mach-msm/asustek/asustek-keypad.c
with
4 additions
and
6 deletions
arch/arm/mach-msm/asustek/asustek-keypad.c
+
4
−
6
View file @
45335578
...
...
@@ -36,7 +36,7 @@
#define GPIO_PM8921_KEY2_VOLUME_UP PM8921_GPIO_PM_TO_SYS(4)
#define GPIO_PM8921_KEY2_VOLUME_DOWN GPIO_PM8921_KEY_VOLUME_DOWN
#define GPIO_KEY(_id, _iswake
, _isreset
) \
#define GPIO_KEY(_id, _iswake)
\
{ \
.code = _id, \
.gpio = GPIO_##_id, \
...
...
@@ -45,14 +45,12 @@
.type = EV_KEY, \
.wakeup = _iswake, \
.debounce_interval = 5, \
.can_reset= _isreset, \
.reset_interval= 7000, \
}
static
struct
gpio_keys_button
asustek_keys
[]
=
{
[
0
]
=
GPIO_KEY
(
KEY_POWER
,
1
,
1
),
[
1
]
=
GPIO_KEY
(
KEY_VOLUMEUP
,
0
,
0
),
[
2
]
=
GPIO_KEY
(
KEY_VOLUMEDOWN
,
0
,
0
),
[
0
]
=
GPIO_KEY
(
KEY_POWER
,
1
),
[
1
]
=
GPIO_KEY
(
KEY_VOLUMEUP
,
0
),
[
2
]
=
GPIO_KEY
(
KEY_VOLUMEDOWN
,
0
),
};
static
struct
gpio_keys_platform_data
asustek_keys_platform_data
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment