diff options
| author | Ulf Hansson <[email protected]> | 2021-05-04 18:12:12 +0200 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2021-06-14 13:57:35 +0200 |
| commit | e62f1e0b2384e25fe61042da3ecf08b7d8262f8d (patch) | |
| tree | 6411894d927f4cc69d959cb7636c06e0c484ecd0 /tools/perf/scripts/python | |
| parent | 94ee6782e045645abd9180ab9369b01293d862bd (diff) | |
mmc: core: Drop open coding when preparing commands with busy signaling
Similar code for validating the host->max_busy_timeout towards the current
command's busy timeout, exists in mmc_do_erase(), mmc_sleep() and
__mmc_switch(). Let's move the common code into a helper function.
Signed-off-by: Ulf Hansson <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Reviewed-by: Shawn Lin <[email protected]>
Acked-by: Avri Altman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions