diff options
author | Alexandre Belloni <[email protected]> | 2019-11-28 11:25:31 +0100 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2019-12-16 09:56:18 -0800 |
commit | 6956eb33abb5deab2cd916b4c31226b57736bc3c (patch) | |
tree | bc5073c9253c9c2e6e899ee55186c8de98ffac81 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d3ab06f432891bfcb9e28a9d183e7f7c50f8d951 (diff) |
clk: at91: fix possible deadlock
Lockdep warns about a possible circular locking dependency because using
syscon_node_to_regmap() will make the created regmap get and enable the
first clock it can parse from the device tree. This clock is not needed to
access the registers and should not be enabled at that time.
Use the recently introduced device_node_to_regmap to solve that as it looks
up the regmap in the same list but doesn't care about the clocks.
Reported-by: Michał Mirosław <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Tested-by: Michał Mirosław <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions