From: Linus Walleij Date: Fri, 8 Jul 2011 08:57:15 +0000 (+0100) Subject: ARM: 6981/2: mmci: adjust calculation of f_min X-Git-Tag: v3.1-rc1~258^2~1^7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f294e4983b67be802277d139522837b3ce5769f;p=pandora-kernel.git ARM: 6981/2: mmci: adjust calculation of f_min The ARM version maximum clock divider is 512 whereas for the ST variants it's 257. Let's use DIV_ROUND_UP() for both cases so we can see clearly what's going on here. [Use DIV_ROUND_UP to clarify elder code] Signed-off-by: Ulf Hansson Reviewed-by: Sebastian Rasmussen Signed-off-by: Linus Walleij Signed-off-by: Russell King --- Reading git-diff-tree failed