summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJerry Huang <[email protected]>2010-11-25 17:06:07 +0000
committerWolfgang Denk <[email protected]>2010-12-18 23:15:21 +0100
commit4a6ee172c3e6e8419e2e61d345a2c993016bb781 (patch)
treebdf362cd1f84f9fc8b7fdc289def3c05ae0308a3 /include/linux
parent73c65e0e77cb5005cc4fa2c0cb435f1dffb90a71 (diff)
fsl_esdhc: Use mmc_set_clock to set initial speed
After booting the u-boot, and first using some SD card (such as Sandisk 2G SD card), because the field 'clock' of struct mmc is zero, this will cause the read transfer is always active and SDHC DATA line is always active, therefore, driver can't handle the next command. Therefore, we use mmc_set_clock to setup both the data structure and HW to the initial clock speed of 400000Hz. Signed-off-by: Jerry Huang <[email protected]> Tested-by: Stefano Babic <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions