summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/atmel-sha-regs.h
diff options
context:
space:
mode:
authorIvaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>2016-03-26 09:28:15 +0100
committerMark Brown <broonie@kernel.org>2016-03-28 11:39:58 +0200
commit32e5deac3627a508f43806788dafa933b51d5d46 (patch)
tree9121fb2434cffa9b59d606d0de21ed1399f7f3fb /drivers/crypto/atmel-sha-regs.h
parentregulator: twl: Make sure we have access to powerbus before trying to write t... (diff)
downloadlinux-32e5deac3627a508f43806788dafa933b51d5d46.tar.xz
linux-32e5deac3627a508f43806788dafa933b51d5d46.zip
regulator: twl: Regulator mode should not depend on regulator enabled state
When machine constraints are applied, regulator framework first sets initial mode (if any) and then enables the regulator if needed. The current code in twl4030reg_set_mode always checks if the regulator is enabled before applying the mode. That results in -EACCES error returned for "always-on" regulators which have "initial-mode" set in the board DTS. Fix that by removing the unneeded check. Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/crypto/atmel-sha-regs.h')
0 files changed, 0 insertions, 0 deletions