diff options
author | 2020-10-28 14:59:00 +0200 | |
---|---|---|
committer | 2020-11-03 07:55:35 +0800 | |
commit | 03681d06a555a6c5f39de48d68082e7444db329f (patch) | |
tree | 916a7cbd63ba24b7bedd0c0ee44c4209fc427e01 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | clk: imx: gate2: Keep the register writing in on place (diff) | |
download | wireguard-linux-03681d06a555a6c5f39de48d68082e7444db329f.tar.xz wireguard-linux-03681d06a555a6c5f39de48d68082e7444db329f.zip |
clk: imx: gate2: Check if clock is enabled against cgr_val
Seems the logic here was wrong all along. For example, if
the cgr_val is 2 (0b10), the clk_gate2_reg_is_enabled would
report the clock as disabled. So check against cgr_val instead.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions