Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
462af435
Commit
462af435
authored
Oct 22, 2008
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugzilla-10503' into test
parents
63e065e5
faee816b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
drivers/acpi/scan.c
drivers/acpi/scan.c
+10
-0
No files found.
drivers/acpi/scan.c
View file @
462af435
...
...
@@ -751,6 +751,16 @@ static int acpi_bus_get_wakeup_device_flags(struct acpi_device *device)
if
(
!
acpi_match_device_ids
(
device
,
button_device_ids
))
device
->
wakeup
.
flags
.
run_wake
=
1
;
/*
* Don't set Power button GPE as run_wake
* if Fixed Power button is used
*/
if
(
!
strcmp
(
device
->
pnp
.
hardware_id
,
"PNP0C0C"
)
&&
!
(
acpi_gbl_FADT
.
flags
&
ACPI_FADT_POWER_BUTTON
))
{
device
->
wakeup
.
flags
.
run_wake
=
0
;
device
->
wakeup
.
flags
.
valid
=
0
;
}
end:
if
(
ACPI_FAILURE
(
status
))
device
->
flags
.
wake_capable
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment