Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
60cd8adc
Commit
60cd8adc
authored
Apr 24, 2009
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'video-ac-dc' into release
parents
09106974
90af2cf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
drivers/acpi/video.c
drivers/acpi/video.c
+5
-3
No files found.
drivers/acpi/video.c
View file @
60cd8adc
...
@@ -770,10 +770,12 @@ acpi_video_init_brightness(struct acpi_video_device *device)
...
@@ -770,10 +770,12 @@ acpi_video_init_brightness(struct acpi_video_device *device)
* In this case, the first two elements in _BCL packages
* In this case, the first two elements in _BCL packages
* are also supported brightness levels that OS should take care of.
* are also supported brightness levels that OS should take care of.
*/
*/
for
(
i
=
2
;
i
<
count
;
i
++
)
for
(
i
=
2
;
i
<
count
;
i
++
)
{
if
(
br
->
levels
[
i
]
==
br
->
levels
[
0
]
||
if
(
br
->
levels
[
i
]
==
br
->
levels
[
0
])
br
->
levels
[
i
]
==
br
->
levels
[
1
])
level_ac_battery
++
;
level_ac_battery
++
;
if
(
br
->
levels
[
i
]
==
br
->
levels
[
1
])
level_ac_battery
++
;
}
if
(
level_ac_battery
<
2
)
{
if
(
level_ac_battery
<
2
)
{
level_ac_battery
=
2
-
level_ac_battery
;
level_ac_battery
=
2
-
level_ac_battery
;
...
...
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