DORMANTno replies

[PATCH] s3c2410fb: fix incorrect argument type in resume function

From: Krzysztof Helt <hidden>
Date: 2008-01-11 21:43:22

From: Krzysztof Helt <redacted>

This patch fixes wrong pointer type passed into
the s3c2410fb_init_registers() function.

Signed-off-by: Krzysztof Helt <redacted>

---
The kernel may crash on resume of display
as the pointer used for registers restoration is wrong.


diff -urp linux-ref/drivers/video/s3c2410fb.c linux-new/drivers/video/s3c2410fb.c
--- linux-ref/drivers/video/s3c2410fb.c	2007-10-18 22:32:51.353010872 +0200
+++ linux-new/drivers/video/s3c2410fb.c	2007-10-18 22:35:25.141774794 +0200
@@ -1026,7 +1026,7 @@ static int s3c2410fb_resume(struct platf
 	clk_enable(info->clk);
 	msleep(1);
 
-	s3c2410fb_init_registers(info);
+	s3c2410fb_init_registers(fbinfo);
 
 	return 0;
 }


----------------------------------------------------------------------
Stworz najlepsza modelke na swiecie!
Sprawdz >>> http://link.interia.pl/f1cc4


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help