projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f30732
)
via: Remove bogus if check
author
Alan Cox
<alan@linux.intel.com>
Wed, 11 Jul 2012 13:22:56 +0000
(14:22 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 11 Jul 2012 15:37:24 +0000
(17:37 +0200)
Reported-by: <dcb314@hotmail.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=44331
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/video/sis/init.c
patch
|
blob
|
history
diff --git
a/drivers/video/sis/init.c
b/drivers/video/sis/init.c
index
66de832
..
f082ae5
100644
(file)
--- a/
drivers/video/sis/init.c
+++ b/
drivers/video/sis/init.c
@@
-2628,7
+2628,8
@@
SiS_SetVCLKState(struct SiS_Private *SiS_Pr, unsigned short ModeNo,
else if(VCLK >= 135) data = 0x02;
if(SiS_Pr->ChipType == SIS_540) {
- if((VCLK == 203) || (VCLK < 234)) data = 0x02;
+ /* Was == 203 or < 234 which made no sense */
+ if (VCLK < 234) data = 0x02;
}
if(SiS_Pr->ChipType < SIS_315H) {