commit | 94803aef3533676194c772383472636c453e3147 | [log] [tgz] |
---|---|---|
author | Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com> | Mon Jan 28 11:13:34 2019 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Jan 28 11:24:19 2019 -0800 |
tree | a612da0a1533bc936d48ca26a59da499ae911511 | |
parent | 3ca232df9921f083c3b37ba5fbc76f4d9046268b [diff] |
Input: pwm-vibra - stop regulator after disabling pwm, not before 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. Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>