提交 39012f68 编写于 作者: A Alan Cox 提交者: Jiri Kosina

via: Remove bogus if check

Reported-by: <dcb314@hotmail.com>
Signed-off-by: NAlan Cox <alan@linux.intel.com>
Resolves-bug:  https://bugzilla.kernel.org/show_bug.cgi?id=44331Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 0f307323
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册