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
Kirill Smelkov
linux
Commits
13ca3217
Commit
13ca3217
authored
Jan 22, 2004
by
Dave Jones
Committed by
Linus Torvalds
Jan 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] logic error in aty128fb
Negate the expression not the register seems more sensible?
parent
0ee1eb36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/video/aty/aty128fb.c
drivers/video/aty/aty128fb.c
+1
-1
No files found.
drivers/video/aty/aty128fb.c
View file @
13ca3217
...
...
@@ -2102,7 +2102,7 @@ aty128_set_backlight_enable(int on, int level, void *data)
reg
|=
LVDS_BL_MOD_EN
|
LVDS_BLON
;
if
(
on
&&
level
>
BACKLIGHT_OFF
)
{
reg
|=
LVDS_DIGION
;
if
(
!
reg
&
LVDS_ON
)
{
if
(
!
(
reg
&
LVDS_ON
)
)
{
reg
&=
~
LVDS_BLON
;
aty_st_le32
(
LVDS_GEN_CNTL
,
reg
);
(
void
)
aty_ld_le32
(
LVDS_GEN_CNTL
);
...
...
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