commit | 0c3ef22a3aaf7293a89c111acaccc6e9d94c4680 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 29 11:35:20 2017 -0600 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Thu Aug 17 16:44:17 2017 +0900 |
tree | 32507efa44df2e98f3b04d403846de3f821ed016 | |
parent | 81357b53092e8d483116b04b38bb4789c1040747 [diff] |
dm: mmc: fsl_esdhc: Detect init failure Since esdhc_init_common() can fail it should return an error code. Update this and also adjust the timeout mechanism to use get_timer(), which is a more common approach. Signed-off-by: Simon Glass <sjg@chromium.org>