From 2bb567a38950f0917aecfe1a3e46720d8bbb0020 Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Tue, 10 Aug 2010 18:02:44 -0700 Subject: [PATCH] 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-format-patch failed