aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorHaibo Chen <[email protected]>2020-06-22 16:19:19 +0800
committerUlf Hansson <[email protected]>2020-07-13 12:18:24 +0200
commite81515556d76cc00272bded98ec8d1def6eb9e2c (patch)
tree2927bff89b3c6be939b1668bee97da2a5834cde9 /tools/perf/util/scripting-engines/trace-event-python.c
parent61d9c4aa97f32a67ccde89325e5048d66095b55b (diff)
mmc: sdio: fix clock rate setting for SDR12/SDR25 mode
In current code logic, when work in SDR12/SDR25 mode, the final clock rate is incorrect, just the legancy 400KHz, because the card->sw_caps.sd3_bus_mode do not has the flag SD_MODE_UHS_SDR12 or SD_MODE_UHS_SDR25. Besides, SDIO_SPEED_SDR12 is actually value 0, and every mode need to config the timing and clock rate, so remove the ‘if’ operator. Signed-off-by: Haibo Chen <[email protected]> Tested-by: Pali Rohár <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions