From: Krzysztof Helt Date: Mon, 12 May 2008 21:02:09 +0000 (-0700) Subject: tridentfb: remove misplaced enable_mmio() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6fb488239cd8750cc818197d6c346409c0e8d330;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git tridentfb: remove misplaced enable_mmio() Remove redundant enable_mmio() call as the mmio mode is enabled in the probe function earlier. Signed-off-by: Krzysztof Helt Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/tridentfb.c b/drivers/video/tridentfb.c index bd54cd0de39a..982eeee0ae98 100644 --- a/drivers/video/tridentfb.c +++ b/drivers/video/tridentfb.c @@ -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);