Skip to contentSkip to conversation

tridentfb: remove misplaced enable_mmio()

PATCH New Krzysztof Helt 1 participant 1 message May 2, 2008 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tridentfb: remove misplaced enable_mmio()

From: Krzysztof Helt <[email protected]>

This patch removes redundant enable_mmio() call as the mmio mode is enabled in the probe function earlier.

---

If the patch below is mangled by email client it is also attached.

diff -urp linux-old/drivers/video/tridentfb.c linux-pc/drivers/video/tridentfb.c
--- linux-old/drivers/video/tridentfb.c 2008-05-01 11:19:02.000000000
+0200
+++ linux-pc/drivers/video/tridentfb.c 2008-05-01 18:06:31.000000000 +0200
@@ -905,7 +905,6 @@ static int tridentfb_set_par(struct fb_i
vblankstart = var->yres;
vblankend = vtotal + 2;

- enable_mmio();
crtc_unlock();
write3CE(CyberControl, 8);

----------------------------------------------------
Kociaki prosto z wybiegów mody?
Ciułała lepsze niż Paris!
http://klik.wp.pl/?adr=http%3A%2F%2Fkonkurs.ulubiency.wp.pl&sid=335

From: Krzysztof Helt <[email protected]>

This patch removes redundant enable_mmio() call as the mmio mode is enabled in the probe function earlier.

drivers/video/tridentfb.c +0 -1
diff -urp linux-old/drivers/video/tridentfb.c linux-pc/drivers/video/tridentfb.c
@@ -905,7 +905,6 @@ static int tridentfb_set_par(struct fb_i
 	vblankstart = var->yres;
 	vblankend = vtotal + 2;
 
-	enable_mmio();
 	crtc_unlock();
 	write3CE(CyberControl, 8);
 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Linux-fbdev-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel