Skip to content

Commit

Permalink
tridentfb: remove misplaced enable_mmio()
Browse files Browse the repository at this point in the history
Remove redundant enable_mmio() call as the mmio mode is enabled in the probe
function earlier.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Krzysztof Helt authored and Linus Torvalds committed May 13, 2008
1 parent 55654be commit 6fb4882
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/video/tridentfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,6 @@ static int tridentfb_set_par(struct fb_info *info)
vblankstart = var->yres;
vblankend = vtotal + 2;

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

Expand Down

0 comments on commit 6fb4882

Please sign in to comment.