From: Dong Aisheng Date: Fri, 13 Sep 2013 11:11:30 +0000 (+0800) Subject: mmc: sdhci: add hooks for platform specific tuning X-Git-Tag: v3.13-rc1~50^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4525181245c0f4005788c17315aee4371662ddea;p=pandora-kernel.git mmc: sdhci: add hooks for platform specific tuning The tuning of some platforms may not follow the standard host control spec v3.0, e.g. Freescale uSDHC on i.MX6Q/DL. Add a hook here to allow execute platform specific tuning instead of standard host controller tuning. The hook only replaces the tuning process, so it's placed after tuning checking and before the real tuning process. Some notes for the tuning hook: 1) it needs handle lock itself if it wants to access host controller according platform specific implementation. 2) do not need to handle runtime pm since it executes with runtime pm get already. Signed-off-by: Dong Aisheng Acked-by: Shawn Guo Signed-off-by: Chris Ball --- Reading git-diff-tree failed