]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sh_mmcif: mmc->f_max should be half of the bus clock
authorSimon Horman <horms@verge.net.au>
Wed, 28 Mar 2012 09:01:10 +0000 (18:01 +0900)
committerChris Ball <cjb@laptop.org>
Sun, 1 Apr 2012 04:12:41 +0000 (00:12 -0400)
commitc19398a237fcc11dbb1ff75aa9a16c2e1d442bd7
tree2de8e4237696c261054ac84ae9bb433a28e13660
parentd9fc225d6c10f17688075f0966eb17fd010c1257
mmc: sh_mmcif: mmc->f_max should be half of the bus clock

mmc->f_max should be half of the bus clock.
And now that mmc->f_max is not equal to the bus clock the
latter should be used directly to calculate mmc->f_min.

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