atmel_lcdfb: Adjust HFP calculation so it matches the manual.
authorAlexander Stein <alexander.stein@systec-electronic.com>
Wed, 5 Oct 2011 07:59:57 +0000 (09:59 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Fri, 11 Nov 2011 16:50:45 +0000 (16:50 +0000)
commit5d910426a6e80194a50e33351c91abcad266c809
tree68931da14bd5b3161ff749fa96b1ad54b9372b2d
parent5a6b5e02d673486c96003d4a6e3e2510f4c59f92
atmel_lcdfb: Adjust HFP calculation so it matches the manual.

In the AT91SAM9263 Manual the HFP part in LCDTIM2 is described as follows:
  * HFP: Horizontal Front Porch
  Number of idle LCDDOTCK cycles at the end of the line.
  Idle period is (HFP+2) LCDDOTCK cycles.

It is only a minor issue. I also changed all boards using atmel_lcdfb
I found to respect the new calculation.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
arch/arm/mach-at91/board-cap9adk.c
arch/arm/mach-at91/board-neocore926.c
arch/arm/mach-at91/board-sam9261ek.c
arch/arm/mach-at91/board-sam9263ek.c
arch/arm/mach-at91/board-sam9m10g45ek.c
arch/arm/mach-at91/board-sam9rlek.c
drivers/video/atmel_lcdfb.c