Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24384
b: refs/heads/master
c: e4ccde3
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Mar 27, 2006
1 parent 570ed27 commit 9e2e4b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1ae418eef4ce763a95edec0b5fc095af5daca2e
refs/heads/master: e4ccde33de202fae1b1e2a940604ee9e295450d9
11 changes: 1 addition & 10 deletions trunk/drivers/video/sis/init301.c
Original file line number Diff line number Diff line change
Expand Up @@ -8564,11 +8564,9 @@ SiS_ChrontelDoSomething3(struct SiS_Private *SiS_Pr, unsigned short ModeNo)
static void
SiS_ChrontelDoSomething2(struct SiS_Private *SiS_Pr)
{
unsigned short temp,tempcl,tempch;
unsigned short temp;

SiS_LongDelay(SiS_Pr, 1);
tempcl = 3;
tempch = 0;

do {
temp = SiS_GetCH701x(SiS_Pr,0x66);
Expand All @@ -8582,13 +8580,6 @@ SiS_ChrontelDoSomething2(struct SiS_Private *SiS_Pr)

SiS_SetCH701xForLCD(SiS_Pr);

if(tempcl == 0) {
if(tempch == 3) break;
SiS_ChrontelResetDB(SiS_Pr);
tempcl = 3;
tempch++;
}
tempcl--;
temp = SiS_GetCH701x(SiS_Pr,0x76);
temp &= 0xfb; /* Reset PLL */
SiS_SetCH701x(SiS_Pr,0x76,temp);
Expand Down

0 comments on commit 9e2e4b9

Please sign in to comment.