public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.5 patch] fix for drivers/video/sis/init301.c
@ 2003-06-17 23:27 Adrian Bunk
  2003-06-19  5:10 ` James Simmons
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2003-06-17 23:27 UTC (permalink / raw)
  To: James Simmons; +Cc: linux-kernel, trivial

Hi James,

the following patch fixes some nonsense in drivers/video/sis/init301.c . 
I've tested the compilation with 2.5.72.

--- linux-2.5.72/drivers/video/sis/init301.c.old	2003-06-18 01:22:27.000000000 +0200
+++ linux-2.5.72/drivers/video/sis/init301.c	2003-06-18 01:23:23.000000000 +0200
@@ -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

-- 

       "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 Seed


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.5 patch] fix for drivers/video/sis/init301.c
@ 2003-06-18 15:58 Thomas Winischhofer
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Winischhofer @ 2003-06-18 15:58 UTC (permalink / raw)
  To: Adrian Bunk, lkml


James has a much newer version of sisfb in his fbdev tree, waiting to be 
included in the main line.

Thomas

-- 
Thomas Winischhofer
Vienna/Austria
thomas AT winischhofer DOT net          *** http://www.winischhofer.net/
twini AT xfree86 DOT org




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.5 patch] fix for drivers/video/sis/init301.c
  2003-06-17 23:27 Adrian Bunk
@ 2003-06-19  5:10 ` James Simmons
  0 siblings, 0 replies; 3+ messages in thread
From: James Simmons @ 2003-06-19  5:10 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kernel, trivial


Already fixed in the newer driver.


On Wed, 18 Jun 2003, Adrian Bunk wrote:

> Hi James,
> 
> the following patch fixes some nonsense in drivers/video/sis/init301.c . 
> I've tested the compilation with 2.5.72.
> 
> --- linux-2.5.72/drivers/video/sis/init301.c.old	2003-06-18 01:22:27.000000000 +0200
> +++ linux-2.5.72/drivers/video/sis/init301.c	2003-06-18 01:23:23.000000000 +0200
> @@ -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
> 
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-19  4:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-18 15:58 [2.5 patch] fix for drivers/video/sis/init301.c Thomas Winischhofer
  -- strict thread matches above, loose matches on Subject: below --
2003-06-17 23:27 Adrian Bunk
2003-06-19  5:10 ` James Simmons

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox