summaryrefslogtreecommitdiffstats
path: root/kernel/stop_machine.c
diff options
context:
space:
mode:
authorKoen Beel <koen.beel@barco.com>2011-07-15 17:39:00 -0400
committerChris Ball <cjb@laptop.org>2011-07-21 10:35:08 -0400
commitd982dcdc4e64eb1881df44b0035a8268bf1ab067 (patch)
tree6a13f888267ec7abe841bd3a9172c12fc39828b7 /kernel/stop_machine.c
parent162f43e31c5a376ec16336e5d0ac973373d54c89 (diff)
mmc: mxs-mmc: fix clock rate setting
Fix clock rate setting in the mxs-mmc driver. Previously, if div2 was 0 then the value for TIMING_CLOCK_RATE would have been 255 instead of 0. The limits for div1 (TIMING_CLOCK_DIVIDE) and div2 (TIMING_CLOCK_RATE+1) were also not correctly defined. Can easily be reproduced on mx23evk: default clock for high speed sdio cards is 50 MHz. With a SSP_CLK of 28.8 MHz default), this resulted in an actual clock rate of about 56 kHz. Tested on mx23evk. Signed-off-by: Koen Beel <koen.beel@barco.com> Reviewed-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions