diff options
author | John Keeping <john@metanate.com> | 2021-10-04 14:15:39 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-11-29 10:38:36 +0100 |
commit | b57e90189f208e8e873f532b797f8b649973f7a2 (patch) | |
tree | 108d8e12473027875559735b5b9e9e04f912feca /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 41acd4b03ca9ba9c9a3ab993817112d9b9f7cf44 (diff) | |
download | linux-b57e90189f208e8e873f532b797f8b649973f7a2.tar.gz linux-b57e90189f208e8e873f532b797f8b649973f7a2.tar.bz2 linux-b57e90189f208e8e873f532b797f8b649973f7a2.zip |
i2c: rk3x: enable clock before getting rate
clk_get_rate() is documented as requiring the clock to be enabled.
Ensure that the bus clock is enabled before calling clk_get_rate() in
rk3x_i2c_probe() to satisfy this requirement.
Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions