diff options
| author | Jerome Brunet <[email protected]> | 2020-03-03 19:29:56 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2020-03-06 20:06:01 +0000 |
| commit | d894992502474a6e84644012deb14a0280acbf96 (patch) | |
| tree | 84fa396ebf33c06c1117ca1b37f540935e8b03d1 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | clk: Fix phase init check (diff) | |
| download | kernel-d894992502474a6e84644012deb14a0280acbf96.tar.gz kernel-d894992502474a6e84644012deb14a0280acbf96.zip | |
clk: rockchip: fix mmc get phase
If the mmc clock has no rate, it can be assumed to be constant.
In such case, there is no measurable phase shift. Just return 0
in this case instead of returning an error.
Fixes: 2760878662a2 ("clk: Bail out when calculating phase fails during clk registration")
Tested-by: Markus Reichl <[email protected]>
Signed-off-by: Jerome Brunet <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
