summaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_sideeffect.c
diff options
context:
space:
mode:
authorMarkus Pargmann2014-02-20 17:36:03 +0100
committerMark Brown2014-02-25 02:31:25 +0100
commit30c219710358c5cca2f8bd2e9e547c6aadf7cf8b (patch)
tree9bc91fd18c9f1b6b82a851ab066a39b9ebb76bdd /net/sctp/sm_sideeffect.c
parentregulator: core: Change dummy supplies error message to a warning (diff)
downloadkernel-qcow2-linux-30c219710358c5cca2f8bd2e9e547c6aadf7cf8b.tar.gz
kernel-qcow2-linux-30c219710358c5cca2f8bd2e9e547c6aadf7cf8b.tar.xz
kernel-qcow2-linux-30c219710358c5cca2f8bd2e9e547c6aadf7cf8b.zip
regulator: core: Replace direct ops->enable usage
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] Cc: <stable@vger.kernel.org> # 3.10+ Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Mark Brown <broonie@linaro.org> regulator: Handle invalid enable operation for always/boot on regulators Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'net/sctp/sm_sideeffect.c')
0 files changed, 0 insertions, 0 deletions