fix for drivers/video/sis/init301.c
PATCH 1/1 fix for drivers/video/sis/init301.c
Hi James,
the following patch fixes some nonsense in drivers/video/sis/init301.c . I've tested the compilation with 2.5.72.
drivers/video/sis/init301.c renamed from drivers/video/sis/init301.c.old +1 -1
@@ -5282,7 +5282,7 @@#ifdef SIS315H /* 310/325 series */ if (SiS_Pr->SiS_IF_DEF_CH70xx !=0 ) { - temp = temp =SiS_GetCH701x (SiS_Pr,0x61 ); + temp =SiS_GetCH701x (SiS_Pr,0x61 );if (temp <1 ) {SiS_SetCH701x (SiS_Pr,0xac76 );SiS_SetCH701x (SiS_Pr,0x0066 );
Please apply
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedAlready fixed in the newer driver.
Quoted 23 lines · Adrian Bunk
Hi James,
the following patch fixes some nonsense in
drivers/video/sis/init301.c. I've tested the compilation with 2.5.72.drivers/video/sis/init301.c renamed from drivers/video/sis/init301.c.old +1
-1@@ -5282,7 +5282,7 @@#ifdef SIS315H /* 310/325 series */ if (SiS_Pr->SiS_IF_DEF_CH70xx !=0 ) { - temp = temp =SiS_GetCH701x (SiS_Pr,0x61 ); + temp =SiS_GetCH701x (SiS_Pr,0x61 );if (temp <1 ) {SiS_SetCH701x (SiS_Pr,0xac76 );SiS_SetCH701x (SiS_Pr,0x0066 );Please apply
Adrian