aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-04-16 18:36:49 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2020-05-28 11:20:58 +0200
commit3e09a81e166c0a5544832459be17561a6b231ac7 (patch)
tree105f245b400de4727a14bdd753a5885302f59ece /tools/perf/scripts/python/bin/stackcollapse-record
parentmmc: core: Return 1 from mmc_regulator_set_vqmmc() if switch skipped (diff)
downloadlinux-3e09a81e166c0a5544832459be17561a6b231ac7.tar.gz
linux-3e09a81e166c0a5544832459be17561a6b231ac7.zip
mmc: mmci: Switch to mmc_regulator_set_vqmmc()
Instead of reimplementing the logic in mmc_regulator_set_vqmmc(), use the mmc code function directly. This also allows us to fix a related issue on STM32MP1, when a voltage switch of 1.8V is done for the eMMC, but the current level is already set to 1.8V. More precisely, in this scenario the call to the ->post_sig_volt_switch() hangs, indefinitely waiting for the voltage switch to complete. Fix this problem by checking if mmc_regulator_set_vqmmc() returned 1 and then skip invoking the callback. Signed-off-by: Marek Vasut <marex@denx.de> Link: https://lore.kernel.org/r/20200416163649.336967-3-marex@denx.de [Ulf: Updated the commit message] Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions