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
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)
* In this case, the first two elements in _BCL packages
* are also supported brightness levels that OS should take care of.
*/
for
(
i
=
2
;
i
<
count
;
i
++
)
if
(
br
->
levels
[
i
]
==
br
->
levels
[
0
]
||
br
->
levels
[
i
]
==
br
->
levels
[
1
])
for
(
i
=
2
;
i
<
count
;
i
++
)
{
if
(
br
->
levels
[
i
]
==
br
->
levels
[
0
])
level_ac_battery
++
;
if
(
br
->
levels
[
i
]
==
br
->
levels
[
1
])
level_ac_battery
++
;
}
if
(
level_ac_battery
<
2
)
{
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