]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sun, 1 Apr 2012 04:12:51 +0000 (00:12 -0400)
commitd86b12906146ce13b3ceb2dc34d063f711b897c6
tree71f71dec1431af7d8c11f3f3414d0667ebe726a0
parentc19398a237fcc11dbb1ff75aa9a16c2e1d442bd7
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