From: Ben Dooks Date: Mon, 16 Mar 2009 21:13:57 +0000 (+0300) Subject: sdhci: Add get_{max,timeout}_clock callbacks X-Git-Tag: v2.6.30-rc1~209^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4240ff0a02cb52f7d10dc1df6d82ba9c27dba07b;p=pandora-kernel.git sdhci: Add get_{max,timeout}_clock callbacks Some controllers do not provide clock information in their capabilities (in the Samsung case, it is because there are multiple clock sources available to the controller). Add hooks to allow the system to supply clock information. p.s. In the original Ben's patch there was a bug that makes sdhci_add_host() return -ENODEV even if callbacks were specified. This is fixed now. Signed-off-by: Ben Dooks Signed-off-by: Anton Vorontsov Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed