diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-02-20 16:36:03 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-03-22 21:01:53 (GMT) |
commit | caf08ff5618812a52ae23b526349e95223856825 (patch) | |
tree | 0883a7a3e44cb9a11477513dd6aabd93b7a7651d /arch/x86/kernel/head32.c | |
parent | 8afe392ee3e84c94ecb595e435dd54f864739bac (diff) | |
download | linux-fsl-qoriq-caf08ff5618812a52ae23b526349e95223856825.tar.xz |
regulator: core: Replace direct ops->enable usage
commit 30c219710358c5cca2f8bd2e9e547c6aadf7cf8b upstream.
There are some direct ops->enable in the regulator core driver. This is
a potential issue as the function _regulator_do_enable() handles gpio
regulators and the normal ops->enable calls. These gpio regulators are
simply ignored when ops->enable is called directly.
One possible bug is that boot-on and always-on gpio regulators are not
enabled on registration.
This patch replaces all ops->enable calls by _regulator_do_enable.
[Handle missing enable operations -- broonie]
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'arch/x86/kernel/head32.c')
0 files changed, 0 insertions, 0 deletions