regulator: of: setup initial suspend state
authorKeerthy <j-keerthy@ti.com>
Mon, 20 Jun 2016 08:43:31 +0000 (14:13 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 22 Jun 2016 15:15:34 +0000 (16:15 +0100)
commita0f78bc89c0396d14b6102c6f72485e14c8821f3
tree9d852ca5db69afa09782c4b51a81a5e5fd7533be
parent1a695a905c18548062509178b98bc91e67510864
regulator: of: setup initial suspend state

Setup initial suspend state to mem, if suspend state is defined for
mem state. This makes sure that the regulators are in proper mode
already from boot.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/of_regulator.c