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
8033c314
Commit
8033c314
authored
Dec 16, 2009
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugzilla-14782' into release
parents
8fa79e08
13c199c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
drivers/acpi/button.c
drivers/acpi/button.c
+7
-0
No files found.
drivers/acpi/button.c
View file @
8033c314
...
@@ -282,6 +282,13 @@ static int acpi_lid_send_state(struct acpi_device *device)
...
@@ -282,6 +282,13 @@ static int acpi_lid_send_state(struct acpi_device *device)
if
(
ret
==
NOTIFY_DONE
)
if
(
ret
==
NOTIFY_DONE
)
ret
=
blocking_notifier_call_chain
(
&
acpi_lid_notifier
,
state
,
ret
=
blocking_notifier_call_chain
(
&
acpi_lid_notifier
,
state
,
device
);
device
);
if
(
ret
==
NOTIFY_DONE
||
ret
==
NOTIFY_OK
)
{
/*
* It is also regarded as success if the notifier_chain
* returns NOTIFY_OK or NOTIFY_DONE.
*/
ret
=
0
;
}
return
ret
;
return
ret
;
}
}
...
...
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