From: Markus Pargmann Date: Thu, 20 Feb 2014 16:36:03 +0000 (+0100) Subject: regulator: core: Replace direct ops->enable usage X-Git-Tag: v3.14-rc6~31^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30c219710358c5cca2f8bd2e9e547c6aadf7cf8b;p=pandora-kernel.git 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: # 3.10+ Signed-off-by: Markus Pargmann Signed-off-by: Mark Brown regulator: Handle invalid enable operation for always/boot on regulators Signed-off-by: Mark Brown --- Reading git-diff-tree failed