Skip to content

Commit

Permalink
FB: sa1100: remove assabet specific initialization
Browse files Browse the repository at this point in the history
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 <FlorianSchandinat@gmx.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Feb 21, 2012
1 parent 086ada5 commit d1a3788
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/video/sa1100fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,16 +182,13 @@

#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <mach/assabet.h>
#include <mach/shannon.h>

/*
* Complain if VAR is out of range.
*/
#define DEBUG_VAR 1

#undef ASSABET_PAL_VIDEO

#include "sa1100fb.h"

static const struct sa1100fb_rgb rgb_4 = {
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit d1a3788

Please sign in to comment.