Skip to content

Commit

Permalink
via: Remove bogus if check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Jiri Kosina committed Jul 11, 2012
1 parent 0f30732 commit 39012f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/video/sis/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 39012f6

Please sign in to comment.