video: da8xx-fb: fixing timing off by one errors
authorDarren Etheridge <detheridge@ti.com>
Fri, 23 Aug 2013 21:52:51 +0000 (16:52 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Aug 2013 11:50:26 +0000 (14:50 +0300)
commit83edd73a9cfd03dad9052abec31d9fb16a28543d
treed6abaec3f18219c22a15ea40ac0a730f807b682c
parenta592d9fd63ca619ba4c15e8d83ec6c955eb18eaa
video: da8xx-fb: fixing timing off by one errors

The LCD controller represents some of the timing fields with a 0
in the register representing 1.  This was not taken into account
when these registers were being set.  Interestingly enough not
all of the LCDC controller timing registers implement this representation
so carefully went through the technical reference manual to only "fix"
the correct timings.

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/da8xx-fb.c