diff options
| author | Kevin Liu <[email protected]> | 2012-10-17 19:04:45 +0800 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2012-12-06 13:54:45 -0500 |
| commit | 35d110e71a6f1d1d336a18be50bde755abebe3fb (patch) | |
| tree | a5ec95b2bc63a80fb05332d83be766d810e88391 /include/linux | |
| parent | 5f1a4dd0372038f2490afa4540cd66b8d092839e (diff) | |
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 <[email protected]>
Reviewed-by: Philip Rakity <[email protected]>
Acked-by: Zhangfei Gao <[email protected]>
Signed-off-by: Kevin Liu <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions