diff options
author | Kevin Liu <kliu5@marvell.com> | 2012-10-17 19:04:45 +0800 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-12-06 13:54:45 -0500 |
commit | 35d110e71a6f1d1d336a18be50bde755abebe3fb (patch) | |
tree | a5ec95b2bc63a80fb05332d83be766d810e88391 /include/linux/mmc/host.h | |
parent | 5f1a4dd0372038f2490afa4540cd66b8d092839e (diff) | |
download | linux-35d110e71a6f1d1d336a18be50bde755abebe3fb.tar.gz linux-35d110e71a6f1d1d336a18be50bde755abebe3fb.tar.bz2 linux-35d110e71a6f1d1d336a18be50bde755abebe3fb.zip |
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 <prakity@marvell.com>
Reviewed-by: Philip Rakity <prakity@Marvell.com>
Acked-by: Zhangfei Gao <zhangfei.gao@marvell.com>
Signed-off-by: Kevin Liu <kliu5@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'include/linux/mmc/host.h')
0 files changed, 0 insertions, 0 deletions