Messages in this thread | | | Date | Thu, 28 Nov 2019 14:58:22 +0100 | From | Michał Mirosław <> | Subject | Re: [PATCH] clk: at91: fix possible deadlock |
| |
On Thu, Nov 28, 2019 at 11:25:31AM +0100, Alexandre Belloni wrote: > 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 <mirq-linux@rere.qmqm.pl> > Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> [...]
Tested-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Thanks! Can you push this to stable?
Best Regards, Michał Mirosław
| |