Re: [PATCH v2 3/3] soc: rockchip: io-domain: do more thing about regulator notify
From: Mark Brown
Date: Tue Aug 17 2021 - 10:36:37 EST
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?
Attachment:
signature.asc
Description: PGP signature