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
19e86c2d
Commit
19e86c2d
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 radeonfb.
Looks like another instance of a ! in the wrong place.
parent
b659e78c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/video/radeonfb.c
drivers/video/radeonfb.c
+1
-1
No files found.
drivers/video/radeonfb.c
View file @
19e86c2d
...
@@ -2319,7 +2319,7 @@ static int radeon_set_backlight_enable(int on, int level, void *data)
...
@@ -2319,7 +2319,7 @@ static int radeon_set_backlight_enable(int on, int level, void *data)
lvds_gen_cntl
|=
(
LVDS_BL_MOD_EN
|
LVDS_BLON
);
lvds_gen_cntl
|=
(
LVDS_BL_MOD_EN
|
LVDS_BLON
);
if
(
on
&&
(
level
>
BACKLIGHT_OFF
))
{
if
(
on
&&
(
level
>
BACKLIGHT_OFF
))
{
lvds_gen_cntl
|=
LVDS_DIGON
;
lvds_gen_cntl
|=
LVDS_DIGON
;
if
(
!
lvds_gen_cntl
&
LVDS_ON
)
{
if
(
!
(
lvds_gen_cntl
&
LVDS_ON
)
)
{
lvds_gen_cntl
&=
~
LVDS_BLON
;
lvds_gen_cntl
&=
~
LVDS_BLON
;
OUTREG
(
LVDS_GEN_CNTL
,
lvds_gen_cntl
);
OUTREG
(
LVDS_GEN_CNTL
,
lvds_gen_cntl
);
(
void
)
INREG
(
LVDS_GEN_CNTL
);
(
void
)
INREG
(
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