summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/mach-anw6410.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2010-08-10 18:02:44 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-08-11 08:59:12 -0700
commit2bb567a38950f0917aecfe1a3e46720d8bbb0020 (patch)
tree58187f4c8263dd3efcae7b018066517caece374e /arch/arm/mach-s3c64xx/mach-anw6410.c
parent04ab9ef97771ba88789672a1f0d0ddcf8dbc0924 (diff)
downloadblackbird-op-linux-2bb567a38950f0917aecfe1a3e46720d8bbb0020.tar.gz
blackbird-op-linux-2bb567a38950f0917aecfe1a3e46720d8bbb0020.zip
s3c-fb: automatically calculate pixel clock when none is given
Add a simple algorithm which calculates the pixel clock based on the video mode parameters. This is only done when no pixel clock is supplied through the platform data. This allows drivers to omit the pixel clock data and thus share the algorithm used for calculating it. Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com> Cc: Pawel Osciak <p.osciak@samsung.com> Cc: Marek Szyprowski <m.szyprowski@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: InKi Dae <inki.dae@samsung.com> Cc: Ben Dooks <ben-linux@fluff.org> Cc: Russell King <rmk@arm.linux.org.uk> Tested-by: Donghwa Lee <yiffie9819@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-anw6410.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud