diff options
author | Linus Walleij <triad@df.lth.se> | 2008-04-29 12:34:07 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-05-04 14:06:05 +0400 |
commit | c8df9a53e8d16877fc0b268b002af2a47a14643a (patch) | |
tree | ff760efc3742b3e9057ce3a777b9fc6d2f34d566 /arch/arm/mach-sa1100 | |
parent | f8b6389bd53361a19ec5236e298527c9c905ca4d (diff) | |
download | linux-c8df9a53e8d16877fc0b268b002af2a47a14643a.tar.xz |
[ARM] 5024/1: Fix some minor clk issues in the MMCI PL18x driver
This fixes some two minor clk issues.
The first is a comparison where a byte will probably wrap around to 0 instead of being saturated to 255, shouldn't be triggered very often but need fixing.
The second is an attempt by the driver to adjust MCLK down to the maximum frequency according to the spec, so we don't accidentally overclock the PL18x block. None of the mach-{versatile|integrator|lh7a40x} that use it in-tree seem to have a problem with this (all are well below 100MHz, typically 33MHz), but some day there will be a problem.
This is not applied on top of the earlier mmci patch for race condition but rather a clean 2.6.25, but I guess it applies without major protests anyway.
Signed-off-by: Linus Walleij <triad@df.lth.se>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-sa1100')
0 files changed, 0 insertions, 0 deletions