commit | 0b01fd3d40fe6402e5fa3b491ef23109feb1aaa5 | [log] [tgz] |
---|---|---|
author | Anson Huang <Anson.Huang@nxp.com> | Thu May 17 15:27:22 2018 +0800 |
committer | Mark Brown <broonie@kernel.org> | Thu May 17 18:12:08 2018 +0100 |
tree | aac76b2252ebff7c8425676f92609f54d89dc500 | |
parent | 5fe156f1cab4f340ddb6283c993912be77594016 [diff] |
regulator: pfuze100: add .is_enable() for pfuze100_swb_regulator_ops If is_enabled() is not defined, regulator core will assume this regulator is already enabled, then it can NOT be really enabled after disabled. Based on Li Jun's patch from the NXP kernel tree. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>