mmc: sh_mmcif: Simplify calculation of mmc->f_min
authorSimon Horman <horms@verge.net.au>
Wed, 28 Mar 2012 09:01:11 +0000 (18:01 +0900)
committerChris Ball <cjb@laptop.org>
Fri, 6 Apr 2012 00:32:24 +0000 (20:32 -0400)
commiteb91b9118db8c05a5a1257b594b021d32b491254
tree59d946917c73b372dee2162b25eaa4f8c3d94816
parent930f152cc9998388031af577843baae572ac8ab6
mmc: sh_mmcif: Simplify calculation of mmc->f_min

There is no need to tune mmc->f_min to a value near 400kHz as the MMC core
begins testing frequencies at 400kHz regardless of the value of mmc->f_min.

As suggested by Guennadi Liakhovetski.

Cc: Magnus Damm <magnus.damm@gmail.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Tested-by: Cao Minh Hiep <hiepcm@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c