From: Kevin Liu Date: Wed, 17 Oct 2012 11:04:45 +0000 (+0800) Subject: mmc: sdhci-pxav3: Add base clock quirk X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~96^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35d110e71a6f1d1d336a18be50bde755abebe3fb;p=pandora-kernel.git mmc: sdhci-pxav3: Add base clock quirk Enable the quirk SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN since SD_CAPABILITIES_1[15:8](BASE_FREQ) can't get correct base clock value. It returns a fixed pre-set value like 200 on some sdhci-pxav3 based platforms like MMP3 while return 0 on the other sdhci-pxav3 based platforms. So we enable the quirk and get the base clock via function get_max_clock. Also add get_max_clock. Reported-by: Philip Rakity Reviewed-by: Philip Rakity Acked-by: Zhangfei Gao Signed-off-by: Kevin Liu Signed-off-by: Chris Ball --- Reading git-diff-tree failed