commit | e7462aabff5bc1b1af002da2cc444fc38b39f4c3 | [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 | 4c7a653ace29e7dc7b1dd8d87139618ce4ac4975 [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>