summaryrefslogtreecommitdiff
path: root/src/ast_vgatool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast_vgatool.c')
-rw-r--r--src/ast_vgatool.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast_vgatool.c b/src/ast_vgatool.c
index 9319d58..9990cda 100644
--- a/src/ast_vgatool.c
+++ b/src/ast_vgatool.c
@@ -194,9 +194,13 @@ GetMaxDCLK(ScrnInfoPtr pScrn)
/* Add for AST2100, ycchen@061807 */
if ((pAST->jChipType == AST2100) || (pAST->jChipType == AST2200))
+ {
if (ulDCLK > 200) ulDCLK = 200;
+ }
else
+ {
if (ulDCLK > 165) ulDCLK = 165;
+ }
return(ulDCLK);