commit | b12ef03a38b20e1bfaa163ed1632625fedd570ee | [log] [tgz] |
---|---|---|
author | Dan Murphy <dmurphy@ti.com> | Wed Nov 15 13:52:13 2017 -0600 |
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | Mon Jan 08 21:28:10 2018 +0100 |
tree | 099ad982c09f0af33e98325f158ef3e56ec2d1a2 | |
parent | 8a7a76c80043879b891ad2c291aa0fd8166a48d6 [diff] |
leds: lp8860: Add regulator enable during init Add the regulator enable call during initialization. If init fails then disable the regulator. Also during init the gpio gets set low even on a passing case so add if everything passes then return. Signed-off-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>