diff options
| author | Sean Anderson <seanga2@gmail.com> | 2020-10-17 08:36:27 -0400 |
|---|---|---|
| committer | Peng Fan <peng.fan@nxp.com> | 2020-11-28 10:39:44 +0800 |
| commit | da129170600e33bdcea1762ebe4ea0a2c9312a9e (patch) | |
| tree | af1a9e9cfbb06107a215bb05151f44d7c618c62e /include/linux | |
| parent | 7889951d0f56eab746a7c8fde350a022ba0361ca (diff) | |
| download | u-boot-da129170600e33bdcea1762ebe4ea0a2c9312a9e.tar.gz u-boot-da129170600e33bdcea1762ebe4ea0a2c9312a9e.tar.xz u-boot-da129170600e33bdcea1762ebe4ea0a2c9312a9e.zip | |
mmc: Add some helper functions for retrying on error
All of the existing quirks add retries to various calls of mmc_send_cmd.
mmc_send_cmd_quirks is a helper function to do this retrying behavior. It
checks if quirks mode is enabled, and if a specific quirk is activated it
retries on error.
This also adds mmc_send_cmd_retry, which retries on error every time
(instead of if a quirk is activated).
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
