aboutsummaryrefslogtreecommitdiff
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:09:57 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:09:57 +0000
commit7238eb667b1b4622e37e4a2b40caf9c49312c6bf (patch)
treef594257bd574926fa744c3e9053908d6850d13a9 /drivers/clocksource
parent0bbf22c374ca069c0c7ae3f039cd5adb272484d1 (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 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions