diff options
author | Hein Tibosch <[email protected]> | 2010-09-06 09:37:19 +0800 |
---|---|---|
committer | Chris Ball <[email protected]> | 2010-10-23 21:11:15 +0800 |
commit | 88ae8b866488031b0e2fc05a27440fefec5e6927 (patch) | |
tree | 07fba0c9aab5c50230fcac22e74506622fa19c68 /lib/mpi/mpi-inline.h | |
parent | 176d1ed426a2a73a87c62a8aa05f6d002353cd50 (diff) |
mmc: Make ID freq configurable
In the latest releases of the mmc driver, the freq during initialization
is set to a fixed 400 Khz. This was reportedly too fast for several
users. As there doesn't seem to be an ideal frequency
which-works-for-all, Pierre suggested to let the driver try several
frequencies.
This patch implements that idea. It will try mmc-initialization using
several frequencies from an array 400, 300, 200 and 100.
In case SDIO is broken, it'll still try to detect SDMEM, also at different
freqs.
Signed-off-by: Hein Tibosch <[email protected]>
Cc: Pierre Ossman <[email protected]>
Reviewed-by: Chris Ball <[email protected]>
Tested-by: Chris Ball <[email protected]>
Cc: Ben Nizette <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Matt Fleming <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions