From: Arnd Hannemann Date: Tue, 24 Aug 2010 15:27:00 +0000 (+0200) Subject: mfd: Allow the platform to specify the sh_mobile_sdhi get_cd handler X-Git-Tag: v2.6.37-rc1~52^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=998283e2e359249133f2f47db26669a55ff25c98;p=pandora-kernel.git mfd: Allow the platform to specify the sh_mobile_sdhi get_cd handler On some platforms (e.g. AP4EVB) the card detect pin of a slot is not directly connected to the sdhi hardware, so that polling needs to be used with tmio_mmc and card detection is handled in the platform code. This patch allows to set tmio_mmc capabilities (to pass the MMC_CAP_NEEDS_POLL flag) and exposes a get_cd hook for that purpose. Signed-off-by: Arnd Hannemann Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed