From: Russell King Date: Sat, 14 Jan 2012 12:21:18 +0000 (+0000) Subject: FB: sa1100: remove assabet specific initialization X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d1a378876c2ab3ea119eea502e8d48e25ef253e4;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git FB: sa1100: remove assabet specific initialization Remove the assabet specific initialization for PAL output mode - we call the lcd_power function before we enable the LCD controller, which will disable the LCD panel to prevent it receiving incorrect timings. Therefore, this setup here is redundant. Acked-by: Florian Tobias Schandinat Signed-off-by: Russell King --- diff --git a/drivers/video/sa1100fb.c b/drivers/video/sa1100fb.c index c9f1e7cd95f8..f6e27f4da1d8 100644 --- a/drivers/video/sa1100fb.c +++ b/drivers/video/sa1100fb.c @@ -182,7 +182,6 @@ #include #include -#include #include /* @@ -190,8 +189,6 @@ */ #define DEBUG_VAR 1 -#undef ASSABET_PAL_VIDEO - #include "sa1100fb.h" static const struct sa1100fb_rgb rgb_4 = { @@ -1229,11 +1226,6 @@ static int __devinit sa1100fb_probe(struct platform_device *pdev) goto failed; } -#ifdef ASSABET_PAL_VIDEO - if (machine_is_assabet()) - ASSABET_BCR_clear(ASSABET_BCR_LCD_ON); -#endif - /* * This makes sure that our colour bitfield * descriptors are correctly initialised.