diff options
author | Kevin Liu <kliu5@marvell.com> | 2012-10-17 11:04:45 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-12-06 18:54:45 (GMT) |
commit | 35d110e71a6f1d1d336a18be50bde755abebe3fb (patch) | |
tree | a5ec95b2bc63a80fb05332d83be766d810e88391 /ipc | |
parent | 5f1a4dd0372038f2490afa4540cd66b8d092839e (diff) | |
download | linux-fsl-qoriq-35d110e71a6f1d1d336a18be50bde755abebe3fb.tar.xz |
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 'ipc')
0 files changed, 0 insertions, 0 deletions