[PATCH v2 3/3] soc: rockchip: io-domain: do more thing about regulator notify

Mark Brown broonie at kernel.org
Tue Aug 17 07:36:12 PDT 2021


On Tue, Aug 17, 2021 at 11:38:48AM +0800, Jianqun Xu wrote:

> +	} else if (event & REGULATOR_EVENT_ENABLE) {
> +		uV = regulator_get_voltage(supply->reg);
>  	} else {

I am very surprised this doesn't cause locking issues given that we
might call notifiers with the regulator API's locks held.  Have you
tested this with lockdep on?
-------------- 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-rockchip/attachments/20210817/fd0563c0/attachment-0001.sig>


More information about the Linux-rockchip mailing list