atmel_lcdfb: new alternate pixel clock formula
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 11 Nov 2009 22:26:35 +0000 (14:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Nov 2009 15:25:57 +0000 (07:25 -0800)
commit431861cfab0c8613f83bac0f41dae22ff74f9bc1
tree3bbcc466f1f21fc5becca1feb081bd46716a0540
parent7779d7bed950a7fb1af4f540c2f82a6b81b65901
atmel_lcdfb: new alternate pixel clock formula

at91sam9g45 non ES lots have an alternate pixel clock calculation formula.
Introduce this one with condition on the cpu_is_xxxxx() macros.

Newer 9g45 SOC will not have good pixel clock calculation without this
fix.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/atmel_lcdfb.c