diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2017-09-21 16:29:58 +0200 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2018-01-12 18:11:04 +0900 |
commit | 3862b854740d296356a5cfd3146b270ad3501d97 (patch) | |
tree | 8680b374866a481d3cabad19e4f8173fa769b006 /drivers/rtc/m41t62.c | |
parent | d0c221fe7336fc7d9ada57d96f4a8911a3aac041 (diff) |
mmc: refactor MMC startup to make it easier to support new modes
The MMC startup process currently handles 4 modes. To make it easier to
add support for more modes, let's make the process more generic and use a
list of the modes to try.
The major functional change is that when a mode fails we try the next one.
Not all modes are tried, only those supported by the card and the host.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/rtc/m41t62.c')
0 files changed, 0 insertions, 0 deletions