]> rtime.felk.cvut.cz Git - linux-imx.git/commit
regulator: max77686: Use already set opmode while re-enabling regulators.
authorYadwinder Singh Brar <yadi.brar@samsung.com>
Tue, 16 Oct 2012 11:54:18 +0000 (17:24 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Oct 2012 13:16:21 +0000 (22:16 +0900)
commit6d2c896b72322ccca465b57123e66890ebddb0ab
tree77b2bd9b30c1b9b55e8be1d8ef412a198901356b
parentddffeb8c4d0331609ef2581d84de4d763607bd37
regulator: max77686: Use already set opmode while re-enabling regulators.

This patch adds basic support to take care of opmode(if any) which can be set by
set_suspend_[disable/mode] callbacks.

Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max77686.c