Subject: Re: [PATCH] clk: at91: fix possible deadlock

From: Stephen Boyd <[email-masked]>
Date: Mon, 16 Dec 2019 09:57:39 -0800

Quoting Alexandre Belloni (2019-11-28 02:25:31)
> 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\u0142 Miros\u0142aw <[email-masked]>
> Signed-off-by: Alexandre Belloni <[email-masked]>
> ---

Applied to clk-fixes

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel