commit | d4c7c5c96c9254017a1aff596a1f43b5bcef7bef | [log] [tgz] |
---|---|---|
author | Damien Riegel <damien.riegel@savoirfairelinux.com> | Tue Apr 04 16:27:36 2017 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Apr 05 08:52:38 2017 -0700 |
tree | 103c5c926f265c3debb18f5df68dbd3e71eae200 | |
parent | 2de3b7048d029fef8f5c25faa1483f5e66402e49 [diff] |
Input: pm8xxx-vib - handle separate enable register Some PMIC vibrator IPs use a separate enable register to turn the vibrator on and off. To detect if a vibrator uses this feature, rely on the enable_mask being non-zero. Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>