Messages in this thread | | | Date | Wed, 18 Aug 2021 13:27:15 +0100 | From | Mark Brown <> | Subject | Re: [PATCH v3] soc: rockchip: io-domain: set 3.3V before regulator disable |
| |
On Wed, Aug 18, 2021 at 09:09:56AM +0800, Jianqun Xu wrote:
> + } else if (event & REGULATOR_EVENT_ENABLE) { > + uV = regulator_get_voltage(supply->reg);
I'm still not clear that the locking is safe here - the notifier is called with the regulator lock held but regulator_get_voltage() wants to take that lock. Have you tried this with the various lock debugging stuff turned on? [unhandled content-type:application/pgp-signature] | |