From: Nishanth Menon Date: Mon, 30 Jun 2014 15:57:39 +0000 (-0500) Subject: regulator: palmas: Fix SMPS enable/disable/is_enable for tps65917 X-Git-Tag: omap-for-v3.17/fixes-against-rc2~156^2~3^6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b632815e9a8d2f8c0c0486b209cf90fa942c527b;p=pandora-kernel.git regulator: palmas: Fix SMPS enable/disable/is_enable for tps65917 We use regmap regulator ops to enable/disable and check if regulator is enabled for various SMPS. However, these depend on valid enable_reg, enable_mask and enable_value in regulator descriptor. So, similar to fix we did in commit 318dbb02b50c ("regulator: palmas: Fix SMPS enable/disable/is_enabled"), populate the same for TPS65917 SMPS registration. LDO definitions are already in place. Fixes: d6f83370ed97 ("regulator: palmas: Add tps65917 PMIC support") Signed-off-by: Nishanth Menon Tested-by: Stephen Warren Tested-by: Keerthy Signed-off-by: Mark Brown --- Reading git-diff-tree failed