From: Simon Horman Date: Wed, 28 Mar 2012 09:01:09 +0000 (+0900) Subject: mmc: sh_mmcif: double clock speed X-Git-Tag: v3.4-rc2~9^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f93882570496aa02ba8a47bfaf81cce43046b978;p=pandora-kernel.git 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 Acked-by: Guennadi Liakhovetski Signed-off-by: Simon Horman Signed-off-by: Chris Ball --- Reading git-diff-tree failed