]> git.baikalelectronics.ru Git - uboot.git/commit
dm: mmc: fsl_esdhc: Detect reset failure
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jul 2017 17:35:19 +0000 (11:35 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 17 Aug 2017 07:44:17 +0000 (16:44 +0900)
commit50920a3ea6c9b6349bbac7ed576c373f430ecdb0
treeb3d358ccca450e4ac64d5b90770ab89e07f5f8af
parentf46ae0e1fea37b1e1bce0a5a9b71885be8a6bbaf
dm: mmc: fsl_esdhc: Detect reset failure

Since esdhc_reset() 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>
drivers/mmc/fsl_esdhc.c