From: Tomi Valkeinen Date: Fri, 10 Apr 2015 09:48:36 +0000 (+0300) Subject: OMAPDSS: DISPC: fix 64 bit issue in 5-tap X-Git-Tag: omap-for-v4.2/fixes-rc1^2~148^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c582935c00227b4efc79630b149b1f077d7716b2;p=pandora-kernel.git OMAPDSS: DISPC: fix 64 bit issue in 5-tap The DISPC driver uses 64 bit arithmetic to calculate the required clock rate for scaling. The code does not seem to work correctly, and instead calculates with 32 bit numbers, giving wrong result. Fix the code by typecasting values to u64 first, so that the calculations do happen in 64 bits. Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed