commit | a9003dc641cf881992897585392567811652de09 | [log] [tgz] |
---|---|---|
author | Maxime Ripard <maxime.ripard@free-electrons.com> | Fri Nov 04 16:18:08 2016 +0100 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Wed Nov 16 13:30:17 2016 +0900 |
tree | 7830d735335d48c2de2f8acf433cb95c20bfc69d | |
parent | 29e0cfb4f77f7aa369136302cee14a91e22dca71 [diff] |
mmc: Retry the switch command Some eMMC will fail at the first switch, but would succeed in a subsequent one. Make sure we try several times to cover those cases. The number of retries (and the behaviour) is currently what is being used in Linux. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Tom Rini <trini@konsulko.com>