Re: [PATCH v2 2/2] input: misc: pwm-vibra: Stop regulator after disabling pwm, not before

2019-02-09 Thread Dmitry Torokhov
On Thu, Jan 24, 2019 at 09:27:32PM +0100, Paweł Chmiel wrote: > This patch fixes order of disable calls in pwm_vibrator_stop. > Currently when starting device, we first enable vcc regulator and then > setup and enable pwm. When stopping, we should do this in oposite order, > so first disable pwm an

[PATCH v2 2/2] input: misc: pwm-vibra: Stop regulator after disabling pwm, not before

2019-01-24 Thread Paweł Chmiel
This patch fixes order of disable calls in pwm_vibrator_stop. Currently when starting device, we first enable vcc regulator and then setup and enable pwm. When stopping, we should do this in oposite order, so first disable pwm and then disable regulator. Previously order was the same as in start.