]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh_mobile_sdhi: fix clock frequency printing
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 28 Nov 2012 09:24:13 +0000 (10:24 +0100)
committerChris Ball <cjb@laptop.org>
Thu, 6 Dec 2012 18:55:08 +0000 (13:55 -0500)
commitc9d04cca68915da54010bb1f4507ee1d0a9cb796
tree521de2a3059e801013d16026579c192e20693980
parent23851f92e38c5459f8f0309d8797f72328b345ec
mmc: sh_mobile_sdhi: fix clock frequency printing

During its probing the SDHI driver prints out the clock frequency, but
does it wrongly, always reporting 0Hz. Use the MMC host frequency value
to fix this issue.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mobile_sdhi.c