From: Giuseppe CAVALLARO Date: Fri, 4 Nov 2011 12:53:19 +0000 (+0100) Subject: mmc: debugfs: expose the SDCLK frq in sys ios X-Git-Tag: v3.3-rc1~72^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df16219f365f7f5a2d88a6e123251d57255cca3f;p=pandora-kernel.git mmc: debugfs: expose the SDCLK frq in sys ios This patch is to expose the actual SDCLK frequency in /sys/kernel/debug/mmcX/ios entry. For example, if the max clk for a normal speed card is 20MHz this is reported in /sys/kernel/debug/mmcX/ios. Unfortunately the actual SDCLK frequency (i.e. Baseclock / divisor) is not reported at all: for example, in that case, on Arasan HC, it should be 48/4=12 (MHz). Signed-off-by: Giuseppe Cavallaro Acked-by: Adrian Hunter Signed-off-by: Chris Ball --- Reading git-diff-tree failed