diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2011-07-08 10:57:15 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-07-19 17:04:35 +0200 |
commit | 7f294e4983b67be802277d139522837b3ce5769f (patch) | |
tree | 9132eb2d87e70db9c8cee1d8132d6f69d1b6cdec /arch/arm/plat-samsung | |
parent | Merge branch 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/air... (diff) | |
download | linux-7f294e4983b67be802277d139522837b3ce5769f.tar.xz linux-7f294e4983b67be802277d139522837b3ce5769f.zip |
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 <ulf.hansson@stericsson.com>
Reviewed-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-samsung')
0 files changed, 0 insertions, 0 deletions