From: Tomi Valkeinen Date: Wed, 24 Oct 2012 08:55:54 +0000 (+0300) Subject: OMAPDSS: HDMI: make hdmi pclk check more permissive X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~2^2^2~62^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f236b892b1cb736edbb9b61ace60ca4dd862e53a;p=pandora-kernel.git OMAPDSS: HDMI: make hdmi pclk check more permissive The hdmi driver tries to find the given video timings from its static list of timings, to find the required ID for the mode. The check tries to find exact match for the pixel clock, among other checks. with omapfb driver there can be some amount of error in the give pixel clock, as the pixel clock is converted between Hz and ps, thus the hdmi's check fails to find the mode. This patch makes the check more allowing, by rounding the pixel clocks to nearest MHz. Signed-off-by: Tomi Valkeinen Cc: Ricardo Neri --- Reading git-diff-tree failed