Sanitize operation has been shown to take longer on some cards. Refactor switch calls to include a timeout and let the user input a timeout. v3: Let kernel handle default switch timeout v2: Make refactor commit usable on it's own Christian Loehle (2): mmc-utils: Refactor switch to allow custom timeout mmc-utils: Allow for custom sanitize timeout mmc.c | 2 +- mmc_cmds.c | 68 +++++++++++++++++++++++++++++------------------------- 2 files changed, 38 insertions(+), 32 deletions(-) -- 2.37.3 Hyperstone GmbH | Reichenaustr. 39a | 78467 Konstanz Managing Director: Dr. Jan Peter Berns. Commercial register of local courts: Freiburg HRB381782