Regression in 5.15-rc6 - WARNING: possible circular locking dependency detected

Mark Brown broonie at kernel.org
Mon Oct 25 03:28:13 PDT 2021


On Mon, Oct 25, 2021 at 10:02:29AM +0200, Francesco Dolcini wrote:

> Whoops, this seems something else already addressed here https://lore.kernel.org/all/1634886750-13861-4-git-send-email-hongxing.zhu@nxp.com/,
> sorry.

That patch looks buggy, there's a reference counting problem somewhere
which this is just papering over.  If the regulator is shared it could
drop a reference that some other device took, drivers should pretty much
never use regulator_is_enabled() except when initialising and certainly
not in cleanup paths.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20211025/5271aa2a/attachment.sig>


More information about the linux-arm-kernel mailing list