From: Maurus Cuelenaere Date: Wed, 11 Aug 2010 01:02:44 +0000 (-0700) Subject: s3c-fb: automatically calculate pixel clock when none is given X-Git-Tag: v2.6.36-rc1~166 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bb567a38950f0917aecfe1a3e46720d8bbb0020;p=pandora-kernel.git 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 Cc: Pawel Osciak Cc: Marek Szyprowski Cc: Kyungmin Park Cc: InKi Dae Cc: Ben Dooks Cc: Russell King Tested-by: Donghwa Lee Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed