commit | 201e828b22d79bafc7a68a93e1ade4b242a12325 | [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 | 446e077a21024edb3d8636a979a99abbcaec9846 [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>