Skip to content
Commit da129170 authored by Sean Anderson's avatar Sean Anderson Committed by Peng Fan
Browse files

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: default avatarSean Anderson <seanga2@gmail.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent 7889951d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment