aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2021-05-04 18:12:12 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2021-06-14 13:57:35 +0200
commite62f1e0b2384e25fe61042da3ecf08b7d8262f8d (patch)
tree6411894d927f4cc69d959cb7636c06e0c484ecd0 /tools/perf/scripts/python
parentmmc: sdhci-acpi: Disable write protect detection on Toshiba Encore 2 WT8-B (diff)
downloadlinux-e62f1e0b2384e25fe61042da3ecf08b7d8262f8d.tar.gz
linux-e62f1e0b2384e25fe61042da3ecf08b7d8262f8d.zip
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 <ulf.hansson@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com> Acked-by: Avri Altman <avri.altman@wdc.com> Link: https://lore.kernel.org/r/20210504161222.101536-2-ulf.hansson@linaro.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions