Re: New underflow of regulator enable count warnings in v5.0-rc1

From: Tony Lindgren
Date: Tue Jan 29 2019 - 12:18:56 EST


* Mark Brown <broonie@xxxxxxxxxx> [190129 17:15]:
> On Tue, Jan 29, 2019 at 09:11:51AM -0800, Tony Lindgren wrote:
>
> > OK. Let's see if Sebastian spots where pwm_vibrator_start()
> > and pwm_vibrator_stop() might get called multiple times
> > or something similar.
>
> Given that nobody has noticed that the driver stops working entirely
> it's possible that the pattern is something like:
>
>
> pwm_vibrator_start()
> pwm_vibrator_stop()
> pwm_vibrator_stop()
> pwm_vibrator_start()
>
> so it's a temporary underflow that gets corrected (or it could be that
> not many people are using mainline kernels on these systems). On your
> system it's the dummy driver but presumably some other users have it
> connected to actual regulators.

Yeah that makes sense.

Regards,

Tony