diff options
author | Simon Horman <[email protected]> | 2012-03-28 18:01:09 +0900 |
---|---|---|
committer | Chris Ball <[email protected]> | 2012-04-05 20:32:23 -0400 |
commit | f93882570496aa02ba8a47bfaf81cce43046b978 (patch) | |
tree | e1493468f480ff958edc5e3013b513b4baa43641 /net/lapb/lapb_iface.c | |
parent | 5865f2876baa5c68fd0d50029dd220ce19f3d2af (diff) |
mmc: sh_mmcif: double clock speed
Correct an off-by one error when calculating the clock divisor in cases
where the host clock is a power of two of the target clock. Previously the
divisor was one greater than the correct value in these cases leading to
the clock being set at half the desired speed.
Thanks to Guennadi Liakhovetski for working with me on the logic for this
change.
Tested-by: Cao Minh Hiep <[email protected]>
Acked-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions