diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:09:57 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:09:57 +0000 |
commit | 7238eb667b1b4622e37e4a2b40caf9c49312c6bf (patch) | |
tree | f594257bd574926fa744c3e9053908d6850d13a9 /arch/arm/mach-s3c2410/mach-otom.c | |
parent | 0bbf22c374ca069c0c7ae3f039cd5adb272484d1 (diff) |
fix-glamo-mci-possible-timeout-overflow.patch
The MMC stack hands us a timeout calibrated in SD_CLK clocks, but the
Glamo can only deal with up to 65520 clocks of timeout. If the stack
handed us a request bigger than this, it would just wrap and the
timeout we actually used would be way too short.
With this patch if that happens, we use the longest timeout we can,
65520 clocks and give it our best shot.
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-otom.c')
0 files changed, 0 insertions, 0 deletions